[openib-general] Re: [PATCH repost] PROT_DONTCOPY: ifiniband uverbs fork support

Bill Jordan woodennickel at gmail.com
Mon Aug 15 09:37:50 PDT 2005


On 8/11/05, Gleb Natapov <glebn at voltaire.com> wrote:
> What about the idea that was floating around about new VM flag that will
> instruct kernel to copy pages belonging to the vma on fork instead of mark
> them as cow?
> 

I think the big problem with this idea is the huge memory regions that
InfiniBand applications are dealing with. If the application forks (or
uses system()), you are going to copy a huge chunk of data (most
likely swapping since the application memory footprint is probably
already tuned to consume the available physical memory). And the copy
is really for nothing since in most (or at least many) cases the child
is just going to exec anyway.

-- 
Bill Jordan



More information about the general mailing list