On Wed, Apr 18, 2012 at 04:37:45PM -0700, Sushanth Rai wrote:
> Wiring entire address space seems to have interesting side effect. The
> libc memory allocator calls madvise() to free the dirty unused pages,
> which does nothing when the pages are wired. The allocator unmaps only
> when entire chunk is free (default size of 1MB). That leaves lots for
> free pages which cannot reclaimed even when the system is under memory
> pressure.
>

Yes, and I would argue that this is the proper interpretation of the
wire request.

Attachment: pgpMJa4l7A9fJ.pgp
Description: PGP signature

Reply via email to