[PATCH] slab: fix oops when reading /proc/slab_allocators

2014-07-06 Thread Joonsoo Kim
commit 03787301420376ae41fbaf4267f4a6253d152ac5 upstream. Backport for v3.14-stable. Commit b1cb0982bdd6 ("change the management method of free objects of the slab") introduced a bug on slab leak detector ('/proc/slab_allocators'). This detector works like as following decription. 1. traverse a

Re: [PATCH] slab: fix oops when reading /proc/slab_allocators

2014-06-17 Thread Joonsoo Kim
On Tue, Jun 17, 2014 at 11:29:33AM +0400, Vladimir Davydov wrote: > Hi, > > On Tue, Jun 17, 2014 at 10:09:52AM +0900, Joonsoo Kim wrote: > [...] > > To fix the problem, I introduces object status buffer on each slab. > > With this, we can track object status precisely, so slab leak detector > > wo

Re: [PATCH] slab: fix oops when reading /proc/slab_allocators

2014-06-17 Thread Vladimir Davydov
Hi, On Tue, Jun 17, 2014 at 10:09:52AM +0900, Joonsoo Kim wrote: [...] > To fix the problem, I introduces object status buffer on each slab. > With this, we can track object status precisely, so slab leak detector > would not access active object and no kernel oops would occur. > Memory overhead c

[PATCH] slab: fix oops when reading /proc/slab_allocators

2014-06-16 Thread Joonsoo Kim
commit 'b1cb098: change the management method of free objects of the slab' introduces bug on slab leak detector('/proc/slab_allocators'). This detector works like as following decription. 1. traverse all objects on all the slabs. 2. determine whether it is active or not. 3. if active, print who al

Re: [PATCH] slab: fix oops when reading /proc/slab_allocators

2014-04-15 Thread Joonsoo Kim
On Wed, Apr 16, 2014 at 08:45:11AM +0900, Joonsoo Kim wrote: > commit 'b1cb098: change the management method of free objects of the slab' > introduces bug on slab leak detector('/proc/slab_allocators'). This > detector works like as following decription. > > 1. traverse all objects on all the slab

[PATCH] slab: fix oops when reading /proc/slab_allocators

2014-04-15 Thread Joonsoo Kim
commit 'b1cb098: change the management method of free objects of the slab' introduces bug on slab leak detector('/proc/slab_allocators'). This detector works like as following decription. 1. traverse all objects on all the slabs. 2. determine whether it is active or not. 3. if active, print who al