Re: [RFC 13/26] SLUB: Add SlabReclaimable() to avoid repeated reclaim attempts

2007-09-19 Thread Christoph Lameter
On Wed, 19 Sep 2007, Rik van Riel wrote: > Why is it safe to not use the normal page flag bit operators > for these page flags operations? Because SLUB always modifies page flags under PageLock. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [RFC 13/26] SLUB: Add SlabReclaimable() to avoid repeated reclaim attempts

2007-09-19 Thread Rik van Riel
Christoph Lameter wrote: Add a flag SlabReclaimable() that is set on slabs with a method that allows defrag/reclaim. Clear the flag if a reclaim action is not successful in reducing the number of objects in a slab. The reclaim flag is set again if all objects have been allocated from it. Signed-

[RFC 13/26] SLUB: Add SlabReclaimable() to avoid repeated reclaim attempts

2007-08-31 Thread Christoph Lameter
Add a flag SlabReclaimable() that is set on slabs with a method that allows defrag/reclaim. Clear the flag if a reclaim action is not successful in reducing the number of objects in a slab. The reclaim flag is set again if all objects have been allocated from it. Signed-off-by: Christoph Lameter <