From: Andrew Morton <akpm@linux-foundation.org>
To: solmac john <johnsolmac@gmail.com>
Cc: Dave Chinner <david@fromorbit.com>, linux-mm <linux-mm@kvack.org>,
Russell King - ARM Linux <linux@arm.linux.org.uk>,
Kernelnewbies@kernelnewbies.org, linux-kernel@vger.kernel.org,
Konstantin Khlebnikov <khlebnikov@openvz.org>
Subject: Re: [bug] shrink_slab shrinkersize handling
Date: Wed, 16 May 2012 14:53:03 -0700 [thread overview]
Message-ID: <20120516145303.8a9cb329.akpm@linux-foundation.org> (raw)
In-Reply-To: <CAD5x=MPcwXyy0eOdqPxc_8K_i3enoU3ZbtwLS71SHR58FCT6rg@mail.gmail.com>
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.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
WARNING: multiple messages have this Message-ID (diff)
From: Andrew Morton <akpm@linux-foundation.org>
To: solmac john <johnsolmac@gmail.com>
Cc: Dave Chinner <david@fromorbit.com>, linux-mm <linux-mm@kvack.org>,
Russell King - ARM Linux <linux@arm.linux.org.uk>,
Kernelnewbies@kernelnewbies.org, linux-kernel@vger.kernel.org,
Konstantin Khlebnikov <khlebnikov@openvz.org>
Subject: Re: [bug] shrink_slab shrinkersize handling
Date: Wed, 16 May 2012 14:53:03 -0700 [thread overview]
Message-ID: <20120516145303.8a9cb329.akpm@linux-foundation.org> (raw)
In-Reply-To: <CAD5x=MPcwXyy0eOdqPxc_8K_i3enoU3ZbtwLS71SHR58FCT6rg@mail.gmail.com>
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.
next prev parent reply other threads:[~2012-05-16 21:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-16 9:03 [bug] shrink_slab shrinkersize handling solmac john
2012-05-16 9:03 ` solmac john
2012-05-16 21:53 ` Andrew Morton [this message]
2012-05-16 21:53 ` Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120516145303.8a9cb329.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=Kernelnewbies@kernelnewbies.org \
--cc=david@fromorbit.com \
--cc=johnsolmac@gmail.com \
--cc=khlebnikov@openvz.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux@arm.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.