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

* [PATCH] cgroup: add missing __percpu markup in mm/memcontrol.c
  2010-08-07 15:26 [PATCH] percpu: add missing markup in mm/memcontrol.c Namhyung Kim
@ 2010-08-07 15:31 ` Tejun Heo
  2010-08-08  2:51   ` Hiroyuki Kamezawa
  2010-08-08  5:54   ` Balbir Singh
  0 siblings, 2 replies; 4+ messages in thread
From: Tejun Heo @ 2010-08-07 15:31 UTC (permalink / raw)
  To: Paul Menage, Li Zefan, containers; +Cc: linux-kernel, Namhyung Kim

From: Namhyung Kim <namhyung@gmail.com>

mem_cgroup->stat 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>
---
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

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

* Re: [PATCH] cgroup: add missing __percpu markup in mm/memcontrol.c
  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
  1 sibling, 0 replies; 4+ messages in thread
From: Hiroyuki Kamezawa @ 2010-08-08  2:51 UTC (permalink / raw)
  To: Tejun Heo; +Cc: Paul Menage, Li Zefan, containers, linux-kernel, Namhyung Kim

2010/8/8 Tejun Heo <tj@kernel.org>:
> From: Namhyung Kim <namhyung@gmail.com>
>
> mem_cgroup->stat 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>

Thank you.
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>

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

* Re: [PATCH] cgroup: add missing __percpu markup in mm/memcontrol.c
  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
  1 sibling, 0 replies; 4+ messages in thread
From: Balbir Singh @ 2010-08-08  5:54 UTC (permalink / raw)
  To: Tejun Heo; +Cc: Paul Menage, Li Zefan, containers, linux-kernel, Namhyung Kim

On Sat, Aug 7, 2010 at 9:01 PM, Tejun Heo <tj@kernel.org> wrote:
> From: Namhyung Kim <namhyung@gmail.com>
>
> mem_cgroup->stat 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>
> ---
> 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?
>

Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com>

Balbir

^ 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®