[PATCH] stop_machine: Mark functions as notrace

Steven Rostedt rostedt at goodmis.org
Wed Oct 21 10:15:22 EDT 2020


On Wed, 21 Oct 2020 10:12:16 -0400
Steven Rostedt <rostedt at goodmis.org> wrote:

> > Fixes: 4ecf0a43e729 ("processor: get rid of cpu_relax_yield")
> > Fixes: 366237e7b083 ("stop_machine: Provide RCU quiescent state in
> > multi_cpu_stop()")  
> 
> I really do not like to add "notrace" to core functions because a single
> architecture has issues with it. Why does RISCV have problems with these
> functions but no other architecture does?
> 
> NACK from me until it is shown that these are issues for a broader set of
> architectures.

After looking at the two above fixes, I take back my NACK ;-)

One of them duplicates an already notraced function, so that looks fine.
The other makes a static function global, which could cause issues as well.

After further review:

Acked-by: Steven Rostedt (VMware) <rostedt at goodmis.org>

-- Steve




More information about the linux-riscv mailing list