Re: [PATCH 4/6] perf: Optimize get_recursion_context()

From: Thomas Gleixner
Date: Fri Oct 30 2020 - 18:14:21 EST


On Fri, Oct 30 2020 at 16:22, Steven Rostedt wrote:
> As this is something that ftrace recursion also does, perhaps we should
> move this into interrupt.h so that anyone that needs a counter can get

Not in interrupt.h please. We should create kernel/include/ for stuff
which really should only be available in the core kernel code.

Thanks,

tglx