mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@fieldses.org>
To: "Weathers, Norman R." <Norman.R.Weathers@conocophillips.com>
Cc: Jeff Layton <jlayton@poochiereds.net>,
	linux-kernel@vger.kernel.org, linux-nfs@vger.kernel.org
Subject: Re: CONFIG_DEBUG_SLAB_LEAK omits size-4096 and larger?
Date: Wed, 11 Jun 2008 18:54:31 -0400	[thread overview]
Message-ID: <20080611225431.GD25194@fieldses.org> (raw)
In-Reply-To: <0122F800A3B64C449565A9E8C297701002D75DAA@hoexmb9.conoco.net>

On Wed, Jun 11, 2008 at 05:46:13PM -0500, Weathers, Norman R. wrote:
> I will try and get it patched and retested, but it may be a day or two
> before I can get back the information due to production jobs now
> running.  Once they finish up, I will get back with the info.

Understood.

> Thanks everyone for looking at this, by the way!

And thanks for your persistence.

--b.

> 
> > 
> > 
> > diff --git a/mm/slab.c b/mm/slab.c
> > index 06236e4..b379e31 100644
> > --- a/mm/slab.c
> > +++ b/mm/slab.c
> > @@ -2202,7 +2202,7 @@ kmem_cache_create (const char *name, 
> > size_t size, size_t align,
> >  	 * above the next power of two: caches with object 
> > sizes just above a
> >  	 * power of two have a significant amount of internal 
> > fragmentation.
> >  	 */
> > -	if (size < 4096 || fls(size - 1) == fls(size-1 + REDZONE_ALIGN +
> > +	if (size < 8192 || fls(size - 1) == fls(size-1 + REDZONE_ALIGN +
> >  						2 * 
> > sizeof(unsigned long long)))
> >  		flags |= SLAB_RED_ZONE | SLAB_STORE_USER;
> >  	if (!(flags & SLAB_DESTROY_BY_RCU))
> > 
> 
> 
> Norman Weathers

  reply	other threads:[~2008-06-11 22:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1212519001.24900.14.camel@hololw58>
     [not found] ` <20080606160922.GG30863@fieldses.org>
     [not found]   ` <0122F800A3B64C449565A9E8C2977010155587@hoexmb9.conoco.net>
     [not found]     ` <20080609185355.GF28584@fieldses.org>
     [not found]       ` <0122F800A3B64C449565A9E8C297701002D75D9F@hoexmb9.conoco.net>
     [not found]         ` <20080610171602.GG20184@fieldses.org>
     [not found]           ` <0122F800A3B64C449565A9E8C297701002D75DA3@hoexmb9.conoco.net>
     [not found]             ` <20080611184613.GM15380@fieldses.org>
2008-06-11 19:52               ` J. Bruce Fields
2008-06-11 20:09                 ` Jeff Layton
2008-06-11 20:57                   ` J. Bruce Fields
2008-06-11 22:46                     ` Weathers, Norman R.
2008-06-11 22:54                       ` J. Bruce Fields [this message]
2008-06-12 19:54                         ` Weathers, Norman R.
2008-06-13 20:15                           ` J. Bruce Fields
2008-06-13 21:53                             ` Weathers, Norman R.
2008-06-13 22:04                               ` J. Bruce Fields
2008-06-13 22:53                                 ` Weathers, Norman R.
2008-06-16 17:43                                   ` J. Bruce Fields
2008-06-19 15:53                                     ` Weathers, Norman R.
2008-06-19 18:46                                       ` J. Bruce Fields

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=20080611225431.GD25194@fieldses.org \
    --to=bfields@fieldses.org \
    --cc=Norman.R.Weathers@conocophillips.com \
    --cc=jlayton@poochiereds.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®