[PATCH] powerpc: During context switch, check before setting mm_cpumask
Balbir Singh
bsingharora at gmail.com
Tue Oct 4 11:20:16 AEDT 2016
On 04/10/16 10:58, Benjamin Herrenschmidt wrote:
> On Tue, 2016-10-04 at 10:25 +1100, Balbir Singh wrote:
>> I think this makes sense, in fact I think in the longer term we can
>> even use __set_bit() reorder-able version since we have a sync
>> coming out of schedule(). The read side for TLB flush can use a RMB
>
> No, that wouldn't be atomic vs. other threads accessing the same
> bitmap.
Somethings distorted my thought process. Thanks!
Balbir Singh.
More information about the Linuxppc-dev
mailing list