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

From: Andy Lutomirski
Date: Wed Feb 26 2020 - 00:50:55 EST


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.)