All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perf cgroup: Add __percpu annotation to perf_cgroup->info
@ 2013-03-18  5:14 Namhyung Kim
  2013-03-18  9:39 ` Ingo Molnar
  0 siblings, 1 reply; 4+ messages in thread
From: Namhyung Kim @ 2013-03-18  5:14 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar
  Cc: Arnaldo Carvalho de Melo, LKML, Namhyung Kim, Tejun Heo

From: Namhyung Kim <namhyung.kim@lge.com>

It's a per-cpu data structure but missed the __percpu annotation.

Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
---
 include/linux/perf_event.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index 001a3b64fe61..16116aee9405 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -311,8 +311,8 @@ struct perf_cgroup_info {
 };
 
 struct perf_cgroup {
-	struct				cgroup_subsys_state css;
-	struct				perf_cgroup_info *info;	/* timing info, one per cpu */
+	struct cgroup_subsys_state 	css;
+	struct perf_cgroup_info __percpu * info;
 };
 #endif
 
-- 
1.7.11.7


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

end of thread, other threads:[~2013-03-18 11:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-18  5:14 [PATCH] perf cgroup: Add __percpu annotation to perf_cgroup->info Namhyung Kim
2013-03-18  9:39 ` Ingo Molnar
2013-03-18  9:56   ` [PATCH v2] " Namhyung Kim
2013-03-18 11:13     ` [tip:perf/core] perf/cgroup: " tip-bot for Namhyung Kim

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.