Re: [patch 1/3] slob: rework freelist handling

Christoph Lameter
2007-05-24T17:27:54Z

On Thu, 24 May 2007, Matt Mackall wrote:

> That's C) above. But you haven't answered the real question: why
> bother? RECLAIMABLE is a bogus number and the VM treats it as such. We
> can make no judgment on how much memory we can actually reclaim from
> looking at reclaimable - it might very easily all be pinned.

The memory was allocated from a slab that has SLAB_ACCOUNT_RECLAIM set. It
is the responsibility of the slab allocator to properly account for these.