Re: dcache leak in 2.6.16-git8 II

2006-03-30 Thread Al Viro
BTW, it allows even funnier stuff: instead of "I'd been allocated by " you can do "I'd passed through ". E.g. if object has different states you can slap slab_charge_here() in state transitions and /proc/slab_allocators will count them separately, showing how many objects are in which state, etc.

Re: dcache leak in 2.6.16-git8 II

2006-03-30 Thread Al Viro
On Thu, Mar 30, 2006 at 10:50:48AM +0100, Al Viro wrote: > FWIW... One thing that might be useful here: Here's what I had in mind: Allow explictly mark allocated objects as "allocated here", so that they'll show up that way for all slab debugging purposes. New helpers: slab_charge_here(

Re: dcache leak in 2.6.16-git8 II

2006-03-30 Thread Al Viro
On Thu, Mar 30, 2006 at 12:26:58AM +0200, Andi Kleen wrote: > dentry_cache 999168 1024594208 191 : tunables 120 608 : > slabdata 53926 53926 0 : shrinker stat 18522624 8871000 > > Hrm interesting is this one: > > sock_inode_cache 996784 99680570451 : tun

Re: dcache leak in 2.6.16-git8 II

2006-03-29 Thread Balbir Singh
On Thu, Mar 30, 2006 at 12:53:24AM +0200, Andi Kleen wrote: > On Thursday 30 March 2006 00:50, Andrew Morton wrote: > > > It looks that way. Didn't someone else report a sock_inode_cache leak? > > Didn't see it. > > > > I still got a copy of the /proc in case anybody wants more information. >

Re: dcache leak in 2.6.16-git8 II

2006-03-29 Thread Andi Kleen
On Thursday 30 March 2006 00:50, Andrew Morton wrote: > It looks that way. Didn't someone else report a sock_inode_cache leak? Didn't see it. > > I still got a copy of the /proc in case anybody wants more information. > > We have this fancy new /proc/slab_allocators now, it might show somethi

Re: dcache leak in 2.6.16-git8 II

2006-03-29 Thread Andrew Morton
Andi Kleen <[EMAIL PROTECTED]> wrote: > > On Tuesday 28 March 2006 05:00, Andrew Morton wrote: > > Andi Kleen <[EMAIL PROTECTED]> wrote: > > > > > > On Monday 27 March 2006 13:48, Bharata B Rao wrote: > > > > On Mon, Mar 27, 2006 at 07:50:20AM +0200, Andi Kleen wrote: > > > > > > > > > > A 2GB x86

Re: dcache leak in 2.6.16-git8 II

2006-03-29 Thread Andi Kleen
On Tuesday 28 March 2006 05:00, Andrew Morton wrote: > Andi Kleen <[EMAIL PROTECTED]> wrote: > > > > On Monday 27 March 2006 13:48, Bharata B Rao wrote: > > > On Mon, Mar 27, 2006 at 07:50:20AM +0200, Andi Kleen wrote: > > > > > > > > A 2GB x86-64 desktop system here is currently swapping itself t