* Dan Williams wrote:
> > The flip side is that if the MFENCE stalls the STAC that is ahead of it
> > could be
> > processed for 'free' - while it's always post barrier with my suggestion.
>
> This 'for free' aspect is what I aiming for.
Ok.
> >
> > But in any case
* Dan Williams wrote:
> > The flip side is that if the MFENCE stalls the STAC that is ahead of it
> > could be
> > processed for 'free' - while it's always post barrier with my suggestion.
>
> This 'for free' aspect is what I aiming for.
Ok.
> >
> > But in any case it would be nice to see a
On Sun, Jan 28, 2018 at 1:14 AM, Ingo Molnar wrote:
>
> * Dan Williams wrote:
>
>> --- a/arch/x86/include/asm/uaccess.h
>> +++ b/arch/x86/include/asm/uaccess.h
>> @@ -124,6 +124,11 @@ extern int __get_user_bad(void);
>>
>> #define __uaccess_begin()
On Sun, Jan 28, 2018 at 1:14 AM, Ingo Molnar wrote:
>
> * Dan Williams wrote:
>
>> --- a/arch/x86/include/asm/uaccess.h
>> +++ b/arch/x86/include/asm/uaccess.h
>> @@ -124,6 +124,11 @@ extern int __get_user_bad(void);
>>
>> #define __uaccess_begin() stac()
>> #define __uaccess_end() clac()
>>
* Dan Williams wrote:
> --- a/arch/x86/include/asm/uaccess.h
> +++ b/arch/x86/include/asm/uaccess.h
> @@ -124,6 +124,11 @@ extern int __get_user_bad(void);
>
> #define __uaccess_begin() stac()
> #define __uaccess_end() clac()
> +#define __uaccess_begin_nospec()
* Dan Williams wrote:
> --- a/arch/x86/include/asm/uaccess.h
> +++ b/arch/x86/include/asm/uaccess.h
> @@ -124,6 +124,11 @@ extern int __get_user_bad(void);
>
> #define __uaccess_begin() stac()
> #define __uaccess_end() clac()
> +#define __uaccess_begin_nospec() \
> +({
6 matches
Mail list logo