[openib-general] Re: [PATCH][RFC][0/4] InfiniBand userspace verbs implementation

William Jordan bjordan.ics at gmail.com
Wed May 4 11:22:00 PDT 2005


On 5/3/05, Andy Isaacson <adi at hexapodia.org> wrote:
> Rather than replacing the fully-registered pages with pages of zeros,
> you could simply unmap them.

I don't like this option. It is nearly free to map all of the pages to
the zero-page. You never have to allocate a page if the user never
writes to it.

Buf if you unmap the page, there could be issues. The memory region
could be on the stack, or malloc'ed. In these cases, the child should
be able to return from the function, or free the memory without
setting a timebomb.

-- 
Bill Jordan
InfiniCon Systems



More information about the general mailing list