Re: [PATCH -rcu/kcsan 04/23] kcsan: Add core support for a subset of weak memory modeling

Peter Zijlstra
2021-10-05T14:20:57Z

On Tue, Oct 05, 2021 at 03:13:25PM +0200, Marco Elver wrote:
> On Tue, 5 Oct 2021 at 14:53, Peter Zijlstra <peterz@infradead.org> wrote:

> > And since you want to mark these functions as uaccess_safe, there must
> > not be any tracing on, hence notrace.
>
> In the Makefile we've relied on:
>
> CFLAGS_REMOVE_core.o = $(CC_FLAGS_FTRACE)
>
> just to disable it for all code here. That should be enough, right?

I find these implicit notrace thingies terribly confusing :/ I've
reported fail to rostedt a number of times only to be (re)told about
these Makefile level thingies.

Ideally we'd script notrace on every implicit symbol or something.