Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1707420
| From | Juergen Gross <jgross@suse.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] x86/xen/64: Rearrange the SYSCALL entries |
| Date | 2017-08-09 17:40 +0200 |
| Message-ID | <ucBfs-Mz-17@gated-at.bofh.it> (permalink) |
| References | <uc3Qv-2ba-33@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 08/08/17 05:59, Andy Lutomirski wrote: > Xen's raw SYSCALL entries are much less weird than native. Rather > than fudging them to look like native entries, use the Xen-provided > stack frame directly. > > This lets us eliminate entry_SYSCALL_64_after_swapgs and two uses of > the SWAPGS_UNSAFE_STACK paravirt hook. The SYSENTER code would > benefit from similar treatment. > > This makes one change to the native code path: the compat > instruction that clears the high 32 bits of %rax is moved slightly > later. I'd be surprised if this affects performance at all. > > Signed-off-by: Andy Lutomirski <luto@kernel.org> Reviewed-by: Juergen Gross <jgross@suse.com> Tested-by: Juergen Gross <jgross@suse.com> Thanks, Juergen
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2] x86/xen/64: Rearrange the SYSCALL entries Andy Lutomirski <luto@kernel.org> - 2017-08-08 06:00 +0200 Re: [PATCH v2] x86/xen/64: Rearrange the SYSCALL entries Juergen Gross <jgross@suse.com> - 2017-08-09 17:40 +0200 [tip:x86/asm] x86/xen/64: Rearrange the SYSCALL entries tip-bot for Andy Lutomirski <tipbot@zytor.com> - 2017-08-10 14:30 +0200
csiph-web