On Sat, Apr 24, 2010 at 4:33 PM, Brad <[email protected]> wrote: >> 4) implement posix_madvise() as a call to _thread_sys_madvise() >> instead of madvise() > > Why this last one?
If a program implements its own madvise, calling posix_madvise should do the right thing (not call the program's version). I'll look closer at the diff soon, but it looked ok to start.
