Re: [PATCH 6/8] percpu: add __percpu sparse annotations to trace

From: Steven Rostedt
Date: Mon Jan 25 2010 - 10:35:49 EST


On Tue, 2010-01-26 at 00:22 +0900, Tejun Heo wrote:
> Add __percpu sparse annotations to trace.
>
> These annotations are to make sparse consider percpu variables to be
> in a different address space and warn if accessed without going
> through percpu accessors. This patch doesn't affect normal builds.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>

Acked-by: Steven Rostedt <rostedt@xxxxxxxxxxx>

-- Steve

> Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> ---
> include/linux/ftrace_event.h | 4 ++--
> include/trace/ftrace.h | 4 ++--
> kernel/trace/trace_event_profile.c | 16 ++++++++--------
> kernel/trace/trace_functions_graph.c | 2 +-
> kernel/trace/trace_kprobe.c | 4 ++--
> kernel/trace/trace_ksym.c | 10 +++++-----
> kernel/trace/trace_syscalls.c | 4 ++--
> 7 files changed, 22 insertions(+), 22 deletions(-)
>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/