linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Pekka Enberg <penberg@kernel.org>
To: Christoph Lameter <cl@linux.com>
Cc: Christoph Lameter <christoph@linuxfoundation.org>,
	"wfg@linux.intel.com" <wfg@linux.intel.com>,
	Linux Memory Management List <linux-mm@kvack.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: linux-next: Early crashed kernel on CONFIG_SLOB
Date: Thu, 12 Jul 2012 10:13:39 +0300 (EEST)	[thread overview]
Message-ID: <alpine.LFD.2.02.1207121013320.2515@tux.localdomain> (raw)
In-Reply-To: <alpine.DEB.2.00.1207101830480.5988@router.home>

On Tue, 10 Jul 2012, Christoph Lameter wrote:
> Here is the patch:
> 
> Subject: slob: Undo slob hunk
> 
> Commit fd3142a59af2012a7c5dc72ec97a4935ff1c5fc6 broke
> slob since a piece of a change for a later patch slipped into
> it.
> 
> Signed-off-by: Christoph Lameter <cl@linux.com>
> 
> ---
>  mm/slob.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: linux-2.6/mm/slob.c
> ===================================================================
> --- linux-2.6.orig/mm/slob.c	2012-07-06 08:38:18.851205889 -0500
> +++ linux-2.6/mm/slob.c	2012-07-06 08:38:47.259205237 -0500
> @@ -516,7 +516,7 @@ struct kmem_cache *kmem_cache_create(con
> 
>  	if (c) {
>  		c->name = name;
> -		c->size = c->object_size;
> +		c->size = size;
>  		if (flags & SLAB_DESTROY_BY_RCU) {
>  			/* leave room for rcu footer at the end of object */
>  			c->size += sizeof(struct slob_rcu);
> 

Applied, thanks!

--
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/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

      reply	other threads:[~2012-07-12  7:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-10 11:17 wfg
2012-07-10 18:37 ` Christoph Lameter
2012-07-10 19:45   ` Pekka Enberg
2012-07-10 23:31   ` Christoph Lameter
2012-07-12  7:13     ` Pekka Enberg [this message]

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=alpine.LFD.2.02.1207121013320.2515@tux.localdomain \
    --to=penberg@kernel.org \
    --cc=christoph@linuxfoundation.org \
    --cc=cl@linux.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=wfg@linux.intel.com \
    /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