[Devel] [PATCH] cgroup: add missing __percpu markup in mm/memcontrol.c
Tejun Heo
tj at kernel.org
Sat Aug 7 08:35:16 PDT 2010
From: Namhyung Kim <namhyung at gmail.com>
mem_cgroup->stat is a percpu pointer but was missing __percpu markup.
Add it.
Signed-off-by: Namhyung Kim <namhyung at gmail.com>
Acked-by: Tejun Heo <tj at kernel.org>
---
Namhyung, can you please look up the maintainers in MAINTAINERS and/or
using scripts/get_maintainer.pl and submit __percpu markup patches to
the respective maintainers w/ me cc'd?
Thank you.
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
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list