Re: [PATCH] x86/entry/64: Drop idtentry's manual stack switch for user entries

2018-04-09 Thread Ingo Molnar

* Andy Lutomirski  wrote:

> On Tue, Apr 3, 2018 at 3:39 PM, Andy Lutomirski  wrote:
> > For non-paranoid entries, idtentry knows how to switch from the
> > kernel stack to the user stack, as does error_entry.  This results
> > in pointless duplication and code bloat.  Make idtentry stop
> > thinking about stacks for non-paranoid entries.
> >
> > This reduces text size by 5377 bytes.
> >
> 
> Just a quick ping to make sure you all noticed this.

LOL, incidentally I have applied it a couple of minutes ago! :-)

Thanks

Ingo


Re: [PATCH] x86/entry/64: Drop idtentry's manual stack switch for user entries

2018-04-09 Thread Ingo Molnar

* Andy Lutomirski  wrote:

> On Tue, Apr 3, 2018 at 3:39 PM, Andy Lutomirski  wrote:
> > For non-paranoid entries, idtentry knows how to switch from the
> > kernel stack to the user stack, as does error_entry.  This results
> > in pointless duplication and code bloat.  Make idtentry stop
> > thinking about stacks for non-paranoid entries.
> >
> > This reduces text size by 5377 bytes.
> >
> 
> Just a quick ping to make sure you all noticed this.

LOL, incidentally I have applied it a couple of minutes ago! :-)

Thanks

Ingo


Re: [PATCH] x86/entry/64: Drop idtentry's manual stack switch for user entries

2018-04-09 Thread Andy Lutomirski
On Tue, Apr 3, 2018 at 3:39 PM, Andy Lutomirski  wrote:
> For non-paranoid entries, idtentry knows how to switch from the
> kernel stack to the user stack, as does error_entry.  This results
> in pointless duplication and code bloat.  Make idtentry stop
> thinking about stacks for non-paranoid entries.
>
> This reduces text size by 5377 bytes.
>

Just a quick ping to make sure you all noticed this.


Re: [PATCH] x86/entry/64: Drop idtentry's manual stack switch for user entries

2018-04-09 Thread Andy Lutomirski
On Tue, Apr 3, 2018 at 3:39 PM, Andy Lutomirski  wrote:
> For non-paranoid entries, idtentry knows how to switch from the
> kernel stack to the user stack, as does error_entry.  This results
> in pointless duplication and code bloat.  Make idtentry stop
> thinking about stacks for non-paranoid entries.
>
> This reduces text size by 5377 bytes.
>

Just a quick ping to make sure you all noticed this.