* Re: [bug] shrink_slab shrinkersize handling
[not found] <CAD5x=MPcwXyy0eOdqPxc_8K_i3enoU3ZbtwLS71SHR58FCT6rg@mail.gmail.com>
@ 2012-05-16 21:53 ` Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2012-05-16 21:53 UTC (permalink / raw)
To: solmac john
Cc: Dave Chinner, linux-mm, Russell King - ARM Linux, Kernelnewbies,
linux-kernel, Konstantin Khlebnikov
On Wed, 16 May 2012 14:33:18 +0530
solmac john <johnsolmac@gmail.com> wrote:
> Hi All,
>
> During mm performance testing sometimes I observed below kernel messages
>
> [ 80.776000] shrink_slab: ashmem_shrink+0x0/0x114 negative objects to
> delete nr=-2133936901
> [ 80.784000] shrink_slab: ashmem_shrink+0x0/0x114 negative objects to
> delete nr=-2139256767
> [ 80.796000] shrink_slab: ashmem_shrink+0x0/0x114 negative objects to
> delete nr=-2079333971
> [ 80.804000] shrink_slab: ashmem_shrink+0x0/0x114 negative objects to
> delete nr=-2096156269
> [ 80.812000] shrink_slab: ashmem_shrink+0x0/0x114 negative objects to
> delete nr=-20658392
>
> ...
>
> I found one patch http://lkml.org/lkml/2011/8/22/80 for this fix
> Please let me know reason why I am getting above error and above is really
> fix for this problem. ?
Yes, that patch should fix it.
Aside: I spent some time trying to work out the reason why local
variable `max_pass' in shrink_slab() is called `max_pass' and failed.
^ permalink raw reply [flat|nested] only message in thread