On Tue, Dec 06, 2005 at 08:33:32AM -0700, Tim S. Woodall wrote:
> > 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.
> We are look at other options, including catching brk/munmap system calls, and
> will be experimenting w/ these on the trunk.
This will be really interesting. How are you going to catch brk/munmap
without kernel help? Last time I checked preload tricks don't work if
syscall is done from inside libc itself.