Re: [patch 7/8] x86/entry: Move irq tracing to prepare_exit_to_user_mode()

Andy Lutomirski
2020-02-26T05:50:55Z

On 2/25/20 2:08 PM, Thomas Gleixner wrote:
> which again gets it out of the ASM code.

Why is this better than just sticking the tracing in
__prepare_exit_from_usermode() or just not splitting it in the first place?

(ISTM the real right solution is to make sure that it's okay for
trace_hardirqs_... to be safe even when rcuidle. But I may still be
missing something.)