Re: detecting kernel mem leak

From: Christoph Lameter
Date: Wed May 07 2008 - 13:22:24 EST


On Wed, 7 May 2008, Stéphane ANCELOT wrote:

> however, since there are always cache filled,  is there a way to flush
> all cashes and then consult slabinfo with caches empty ???

Not sure what this is about. per cpu cached objects?

slabinfo -s

will shrink all caches and throw all cpu slabs away. The system will touch
some essential caches immediately though. So some processor will
immediately reallocate cpu slabs.