All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 4/5] percpu: add missing markup in mm/slub_def.h
@ 2010-08-06 18:26 Namhyung Kim
  2010-08-07 12:29 ` [PATCH] slub: add missing __percpu " Tejun Heo
  0 siblings, 1 reply; 3+ messages in thread
From: Namhyung Kim @ 2010-08-06 18:26 UTC (permalink / raw)
  To: tj; +Cc: linux-kernel


Signed-off-by: Namhyung Kim <namhyung@gmail.com>
---
 include/linux/slub_def.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/slub_def.h b/include/linux/slub_def.h
index 4ba59cf..ccf2716 100644
--- a/include/linux/slub_def.h
+++ b/include/linux/slub_def.h
@@ -67,7 +67,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 */
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] slub: add missing __percpu markup in mm/slub_def.h
  2010-08-06 18:26 [PATCH 4/5] percpu: add missing markup in mm/slub_def.h Namhyung Kim
@ 2010-08-07 12:29 ` Tejun Heo
  2010-08-09 15:51   ` Pekka Enberg
  0 siblings, 1 reply; 3+ messages in thread
From: Tejun Heo @ 2010-08-07 12:29 UTC (permalink / raw)
  To: Christoph Lameter, Pekka Enberg; +Cc: Namhyung Kim, linux-kernel

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 */

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] slub: add missing __percpu markup in mm/slub_def.h
  2010-08-07 12:29 ` [PATCH] slub: add missing __percpu " Tejun Heo
@ 2010-08-09 15:51   ` Pekka Enberg
  0 siblings, 0 replies; 3+ messages in thread
From: Pekka Enberg @ 2010-08-09 15:51 UTC (permalink / raw)
  To: Tejun Heo; +Cc: Christoph Lameter, Namhyung Kim, linux-kernel

Tejun Heo wrote:
> 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?

Applied, thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-08-09 15:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-06 18:26 [PATCH 4/5] percpu: add missing markup in mm/slub_def.h Namhyung Kim
2010-08-07 12:29 ` [PATCH] slub: add missing __percpu " Tejun Heo
2010-08-09 15:51   ` Pekka Enberg

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.