Re: [PATCH] alpha: add barrier before writing to the hae register

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/22/2018 01:42 PM, Mikulas Patocka wrote:
>  	unsigned long flags = swpipl(IPL_MAX);
>  
> -	barrier();
> +	mb();

Maybe, but I doubt it makes a difference in practice.

The swpipl is a transition through PALcode, and the
instruction queue will have been flushed into and out
of PALmode.

But of course the barrier shouldn't be required either.


r~



[Index of Archives]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux