mirror of https://lore.kernel.org/lkml/
 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
  0 siblings, 1 reply; 4+ 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	[flat|nested] 4+ messages in thread

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

Thread overview: 4+ 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
2010-08-08  5:54   ` Balbir Singh

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®