All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] percpu: add missing markup in mm/memcontrol.c
@ 2010-08-07 15:26 Namhyung Kim
  2010-08-07 15:31 ` [PATCH] cgroup: add missing __percpu " Tejun Heo
       [not found] ` <1281194812-18052-1-git-send-email-namhyung-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 2 replies; 7+ messages in thread
From: Namhyung Kim @ 2010-08-07 15:26 UTC (permalink / raw)
  To: tj, linux-kernel

mem_cgroup->stat is a percpu pointer but was missing __percpu markup.
Add it.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
---
 mm/memcontrol.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 20a8193..edf5011 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -252,7 +252,7 @@ struct mem_cgroup {
 	/*
 	 * percpu counter.
 	 */
-	struct mem_cgroup_stat_cpu *stat;
+	struct mem_cgroup_stat_cpu __percpu *stat;
 };
 
 /* Stuffs for move charges at task migration. */
-- 
1.7.0.4


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

end of thread, other threads:[~2010-08-08  5:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-07 15:26 [PATCH] percpu: add missing markup in mm/memcontrol.c Namhyung Kim
2010-08-07 15:31 ` [PATCH] cgroup: add missing __percpu " Tejun Heo
2010-08-08  2:51   ` Hiroyuki Kamezawa
     [not found]   ` <4C5D7C4C.1020206-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2010-08-08  2:51     ` Hiroyuki Kamezawa
2010-08-08  5:54     ` Balbir Singh
2010-08-08  5:54   ` Balbir Singh
     [not found] ` <1281194812-18052-1-git-send-email-namhyung-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-08-07 15:31   ` Tejun Heo

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.