Re: [PATCH] x86/signal: Remove pax argument from restore_sigcontext

2015-04-07 Thread Ingo Molnar
* Brian Gerst wrote: > On Mon, Apr 6, 2015 at 3:03 AM, Ingo Molnar wrote: > > > > * Brian Gerst wrote: > > > >> > I'm wondering what the original reason for adding the extra > >> > handling of regs->ax was. Maybe something changed regs->ax - but I > >> > cannot find such code path anymore. > >

Re: [PATCH] x86/signal: Remove pax argument from restore_sigcontext

2015-04-06 Thread Brian Gerst
On Mon, Apr 6, 2015 at 3:03 AM, Ingo Molnar wrote: > > * Brian Gerst wrote: > >> > I'm wondering what the original reason for adding the extra >> > handling of regs->ax was. Maybe something changed regs->ax - but I >> > cannot find such code path anymore. >> > >> > It would be nice to try to do a

Re: [PATCH] x86/signal: Remove pax argument from restore_sigcontext

2015-04-06 Thread Ingo Molnar
* Brian Gerst wrote: > > I'm wondering what the original reason for adding the extra > > handling of regs->ax was. Maybe something changed regs->ax - but I > > cannot find such code path anymore. > > > > It would be nice to try to do a bit of Git archeology to figure > > out the origins of th

Re: [PATCH] x86/signal: Remove pax argument from restore_sigcontext

2015-04-04 Thread Ingo Molnar
* Brian Gerst wrote: > On Sat, Apr 4, 2015 at 10:14 AM, Ingo Molnar wrote: > > > > * Brian Gerst wrote: > > > >> The pax argument is unnecesary. Instead, store the RAX value directly > >> in regs. > >> > >> Signed-off-by: Brian Gerst > >> Cc: Ingo Molnar > >> Cc: "H. Peter Anvin" > >> Cc:

Re: [PATCH] x86/signal: Remove pax argument from restore_sigcontext

2015-04-04 Thread Brian Gerst
On Sat, Apr 4, 2015 at 10:14 AM, Ingo Molnar wrote: > > * Brian Gerst wrote: > >> The pax argument is unnecesary. Instead, store the RAX value directly >> in regs. >> >> Signed-off-by: Brian Gerst >> Cc: Ingo Molnar >> Cc: "H. Peter Anvin" >> Cc: Andy Lutomirski >> Cc: Denys Vlasenko >> Cc:

Re: [PATCH] x86/signal: Remove pax argument from restore_sigcontext

2015-04-04 Thread Brian Gerst
On Sat, Apr 4, 2015 at 10:14 AM, Ingo Molnar wrote: > > * Brian Gerst wrote: > >> The pax argument is unnecesary. Instead, store the RAX value directly >> in regs. >> >> Signed-off-by: Brian Gerst >> Cc: Ingo Molnar >> Cc: "H. Peter Anvin" >> Cc: Andy Lutomirski >> Cc: Denys Vlasenko >> Cc:

Re: [PATCH] x86/signal: Remove pax argument from restore_sigcontext

2015-04-04 Thread Ingo Molnar
* Brian Gerst wrote: > The pax argument is unnecesary. Instead, store the RAX value directly > in regs. > > Signed-off-by: Brian Gerst > Cc: Ingo Molnar > Cc: "H. Peter Anvin" > Cc: Andy Lutomirski > Cc: Denys Vlasenko > Cc: Linus Torvalds > Cc: Borislav Petkov > Cc: x...@kernel.org > C

[PATCH] x86/signal: Remove pax argument from restore_sigcontext

2015-04-04 Thread Brian Gerst
The pax argument is unnecesary. Instead, store the RAX value directly in regs. Signed-off-by: Brian Gerst Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Andy Lutomirski Cc: Denys Vlasenko Cc: Linus Torvalds Cc: Borislav Petkov Cc: x...@kernel.org Cc: linux-kernel@vger.kernel.org --- arch/x86/ia