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

From: Thomas Gleixner
Date: Wed Feb 26 2020 - 14:54:11 EST


Andy Lutomirski <luto@xxxxxxxxxx> writes:

> 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?

The split is there because prepare_exit_from_usermode() is used from the
idtentry maze as well. Once that stuff is converted in the later series
the split goes away again.

Thanks,

tglx