Re: [PATCH 13/18] x86 vDSO: ia32 sysenter_return

2007-11-20 Thread Roland McGrath
> > @@ -104,7 +103,7 @@ ENTRY(ia32_sysenter_target) > > pushfq > > CFI_ADJUST_CFA_OFFSET 8 > > /*CFI_REL_OFFSET rflags,0*/ > > - movl$VSYSCALL32_SYSEXIT, %r10d > > + movl8*3-THREAD_SIZE+threadinfo_sysenter_return(%rsp), %r10d > > 8*3-THREAD_SIZE is not very intuitive. Can

Re: [PATCH 13/18] x86 vDSO: ia32 sysenter_return

2007-11-20 Thread Zachary Amsden
On Mon, 2007-11-19 at 14:06 -0800, Roland McGrath wrote: > This changes the 64-bit kernel's support for the 32-bit sysenter > instruction to use stored fields rather than constants for the > user-mode return address, as the 32-bit kernel does. This adds a > sysenter_return field to struct thread_i

[PATCH 13/18] x86 vDSO: ia32 sysenter_return

2007-11-19 Thread Roland McGrath
This changes the 64-bit kernel's support for the 32-bit sysenter instruction to use stored fields rather than constants for the user-mode return address, as the 32-bit kernel does. This adds a sysenter_return field to struct thread_info, as 32-bit has. There is no observable effect from this yet