On Mon, Dec 05, 2005 at 10:23:14AM -0700, Galen M. Shipman wrote:
> > Also there is a code commented out that enables memory hooks if
> > leave_pinned is set. Why this code is disabled? Infiniband will
> > not work correctly in such setup.
> There is still some debate about what will be the default behavior with
> the leave_pinned option but we should have something in the trunk soon.
Can you explain to me what is the concern? Infiniband will not function
properly otherwise (can be easely demonstrated).
Also memfree hooks decrease cache efficiency, the better solution would
be to catch brk() system calls and remove memory from cache only then,
but there is no way to do it for now.