lkml.org 
[lkml]   [2018]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v14 05/12] cpuset: Add an error state to cpuset.sched.partition
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.

\
 
 \ /
  Last update: 2018-11-06 12:41    [W:0.205 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site