Re: [PATCH v11 00/18] Enable FSGSBASE instructions

2020-05-10 Thread Sasha Levin
On Sun, May 10, 2020 at 05:53:19PM -0700, Andi Kleen wrote: My interest in this is that we have a few workloads that value the ability to access FS/GS base directly and show nice performance Can you please share some rough numbers, Sasha? I don't have any recent numbers around these - this

Re: [PATCH v11 00/18] Enable FSGSBASE instructions

2020-05-10 Thread Andi Kleen
> My interest in this is that we have a few workloads that value the > ability to access FS/GS base directly and show nice performance Can you please share some rough numbers, Sasha? I would expect everything that does a lot of context switches to benefit automatically, apart from the new free

Re: [PATCH v11 00/18] Enable FSGSBASE instructions

2020-05-10 Thread Sasha Levin
On Sat, May 09, 2020 at 06:40:02PM -0700, Dave Hansen wrote: On 5/9/20 10:36 AM, Sasha Levin wrote: Changes from v10: - Rewrite the commit message for patch #1. - Document communication/acks from userspace projects that are potentially affected by this. I'm glad someone's pushing this

Re: [PATCH v11 00/18] Enable FSGSBASE instructions

2020-05-09 Thread Dave Hansen
On 5/9/20 10:36 AM, Sasha Levin wrote: > Changes from v10: > > - Rewrite the commit message for patch #1. > - Document communication/acks from userspace projects that are >potentially affected by this. I'm glad someone's pushing this forward. But, I'm also very curious how you came to be

[PATCH v11 00/18] Enable FSGSBASE instructions

2020-05-09 Thread Sasha Levin
Benefits: Currently a user process that wishes to read or write the FS/GS base must make a system call. But recent X86 processors have added new instructions for use in 64-bit mode that allow direct access to the FS and GS segment base addresses. The operating system controls whether applications