Re: [PATCH 17/18] x86/asm/64: Remove thread_struct::sp0

2017-11-01 Thread Andy Lutomirski
On Wed, Nov 1, 2017 at 3:23 AM, Borislav Petkov wrote: > On Thu, Oct 26, 2017 at 01:26:49AM -0700, Andy Lutomirski wrote: >> On x86_64, we can easily calculate sp0 when needed instead of >> storing it in thread_struct. >> >> On x86_32, a similar cleanup would be possible, but it would require >> c

Re: [PATCH 17/18] x86/asm/64: Remove thread_struct::sp0

2017-11-01 Thread Borislav Petkov
On Thu, Oct 26, 2017 at 01:26:49AM -0700, Andy Lutomirski wrote: > On x86_64, we can easily calculate sp0 when needed instead of > storing it in thread_struct. > > On x86_32, a similar cleanup would be possible, but it would require > cleaning up the vm86 code first, and that can wait for a later

Re: [PATCH 17/18] x86/asm/64: Remove thread_struct::sp0

2017-10-27 Thread Brian Gerst
On Thu, Oct 26, 2017 at 4:26 AM, Andy Lutomirski wrote: > On x86_64, we can easily calculate sp0 when needed instead of > storing it in thread_struct. > > On x86_32, a similar cleanup would be possible, but it would require > cleaning up the vm86 code first, and that can wait for a later > cleanup

[PATCH 17/18] x86/asm/64: Remove thread_struct::sp0

2017-10-26 Thread Andy Lutomirski
On x86_64, we can easily calculate sp0 when needed instead of storing it in thread_struct. On x86_32, a similar cleanup would be possible, but it would require cleaning up the vm86 code first, and that can wait for a later cleanup series. Signed-off-by: Andy Lutomirski --- arch/x86/include/asm/