Re: [PATCH 5/7] x86/vdso: Add vDSO functions for direct store instructions

2018-07-25 Thread Fenghua Yu
On Mon, Jul 23, 2018 at 10:27:34PM -0700, Andy Lutomirski wrote: > On Mon, Jul 23, 2018 at 8:42 PM, Fenghua Yu wrote: > > On Mon, Jul 23, 2018 at 06:48:00PM -0700, Andy Lutomirski wrote: > >> On 07/23/2018 05:55 AM, Fenghua Yu wrote: > >> >The instructions can be implemented in intrinsic

Re: [PATCH 5/7] x86/vdso: Add vDSO functions for direct store instructions

2018-07-25 Thread Fenghua Yu
On Mon, Jul 23, 2018 at 10:27:34PM -0700, Andy Lutomirski wrote: > On Mon, Jul 23, 2018 at 8:42 PM, Fenghua Yu wrote: > > On Mon, Jul 23, 2018 at 06:48:00PM -0700, Andy Lutomirski wrote: > >> On 07/23/2018 05:55 AM, Fenghua Yu wrote: > >> >The instructions can be implemented in intrinsic

Re: [PATCH 5/7] x86/vdso: Add vDSO functions for direct store instructions

2018-07-23 Thread Andy Lutomirski
On Mon, Jul 23, 2018 at 8:42 PM, Fenghua Yu wrote: > On Mon, Jul 23, 2018 at 06:48:00PM -0700, Andy Lutomirski wrote: >> On 07/23/2018 05:55 AM, Fenghua Yu wrote: >> >The instructions can be implemented in intrinsic functions in future >> >GCC. But the vDSO interfaces are available to user

Re: [PATCH 5/7] x86/vdso: Add vDSO functions for direct store instructions

2018-07-23 Thread Andy Lutomirski
On Mon, Jul 23, 2018 at 8:42 PM, Fenghua Yu wrote: > On Mon, Jul 23, 2018 at 06:48:00PM -0700, Andy Lutomirski wrote: >> On 07/23/2018 05:55 AM, Fenghua Yu wrote: >> >The instructions can be implemented in intrinsic functions in future >> >GCC. But the vDSO interfaces are available to user

Re: [PATCH 5/7] x86/vdso: Add vDSO functions for direct store instructions

2018-07-23 Thread Fenghua Yu
On Mon, Jul 23, 2018 at 06:48:00PM -0700, Andy Lutomirski wrote: > On 07/23/2018 05:55 AM, Fenghua Yu wrote: > >The instructions can be implemented in intrinsic functions in future > >GCC. But the vDSO interfaces are available to user without the > I'm not convinced that any of this belongs in the

Re: [PATCH 5/7] x86/vdso: Add vDSO functions for direct store instructions

2018-07-23 Thread Fenghua Yu
On Mon, Jul 23, 2018 at 06:48:00PM -0700, Andy Lutomirski wrote: > On 07/23/2018 05:55 AM, Fenghua Yu wrote: > >The instructions can be implemented in intrinsic functions in future > >GCC. But the vDSO interfaces are available to user without the > I'm not convinced that any of this belongs in the

Re: [PATCH 5/7] x86/vdso: Add vDSO functions for direct store instructions

2018-07-23 Thread Andy Lutomirski
On 07/23/2018 05:55 AM, Fenghua Yu wrote: User wants to query if direct store instructions are supported and use the instructions. The vDSO functions provides fast interface for user to query the support and use the instructions. movdiri_supported and its alias __vdso_movdiri_supported check if

Re: [PATCH 5/7] x86/vdso: Add vDSO functions for direct store instructions

2018-07-23 Thread Andy Lutomirski
On 07/23/2018 05:55 AM, Fenghua Yu wrote: User wants to query if direct store instructions are supported and use the instructions. The vDSO functions provides fast interface for user to query the support and use the instructions. movdiri_supported and its alias __vdso_movdiri_supported check if

[PATCH 5/7] x86/vdso: Add vDSO functions for direct store instructions

2018-07-23 Thread Fenghua Yu
User wants to query if direct store instructions are supported and use the instructions. The vDSO functions provides fast interface for user to query the support and use the instructions. movdiri_supported and its alias __vdso_movdiri_supported check if movdiri instructions are supported.

[PATCH 5/7] x86/vdso: Add vDSO functions for direct store instructions

2018-07-23 Thread Fenghua Yu
User wants to query if direct store instructions are supported and use the instructions. The vDSO functions provides fast interface for user to query the support and use the instructions. movdiri_supported and its alias __vdso_movdiri_supported check if movdiri instructions are supported.