Re: [PATCH v14 05/12] cpuset: Add an error state to cpuset.sched.partition

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

 



On Mon, Oct 15, 2018 at 04:29:30PM -0400, Waiman Long wrote:
> +				spin_lock_irq(&callback_lock);
> +				clear_bit(CS_CPU_EXCLUSIVE, &cp->flags);
> +				spin_unlock_irq(&callback_lock);

A single atomic bitop wrapped in a spinlock..  maybe it is correct, but
it looks suspicous.



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux