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

From: Andy Lutomirski
Date: Wed Feb 26 2020 - 15:07:41 EST


On Wed, Feb 26, 2020 at 11:54 AM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
> 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.
>

Okay.