From: Tejun Heo <tj@kernel.org>
To: Christoph Lameter <cl@linux-foundation.org>,
Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Namhyung Kim <namhyung@gmail.com>, linux-kernel@vger.kernel.org
Subject: [PATCH] slub: add missing __percpu markup in mm/slub_def.h
Date: Sat, 07 Aug 2010 14:29:22 +0200 [thread overview]
Message-ID: <4C5D51A2.8030306@kernel.org> (raw)
In-Reply-To: <1281119187-12640-4-git-send-email-namhyung@gmail.com>
From: Namhyung Kim <namhyung@gmail.com>
kmem_cache->cpu_slab is a percpu pointer but was missing __percpu
markup. Add it.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
---
Christoph, Pekka, can you please route this through slab tree?
Thanks.
include/linux/slub_def.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: percpu/include/linux/slub_def.h
===================================================================
--- percpu.orig/include/linux/slub_def.h
+++ percpu/include/linux/slub_def.h
@@ -68,7 +68,7 @@ struct kmem_cache_order_objects {
* Slab cache management.
*/
struct kmem_cache {
- struct kmem_cache_cpu *cpu_slab;
+ struct kmem_cache_cpu __percpu *cpu_slab;
/* Used for retriving partial slabs etc */
unsigned long flags;
int size; /* The size of an object including meta data */
next prev parent reply other threads:[~2010-08-07 12:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-06 18:26 [PATCH 4/5] percpu: add missing " Namhyung Kim
2010-08-07 12:29 ` Tejun Heo [this message]
2010-08-09 15:51 ` [PATCH] slub: add missing __percpu " Pekka Enberg
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=4C5D51A2.8030306@kernel.org \
--to=tj@kernel.org \
--cc=cl@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=namhyung@gmail.com \
--cc=penberg@cs.helsinki.fi \
/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
Powered by JetHome