[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181106114017.GM22431@hirez.programming.kicks-ass.net>
Date: Tue, 6 Nov 2018 12:40:17 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Waiman Long <longman@...hat.com>
Cc: Tejun Heo <tj@...nel.org>, Li Zefan <lizefan@...wei.com>,
Johannes Weiner <hannes@...xchg.org>,
Ingo Molnar <mingo@...hat.com>, cgroups@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org,
kernel-team@...com, pjt@...gle.com, luto@...capital.net,
Mike Galbraith <efault@....de>, torvalds@...ux-foundation.org,
Roman Gushchin <guro@...com>,
Juri Lelli <juri.lelli@...hat.com>,
Patrick Bellasi <patrick.bellasi@....com>,
Tom Hromatka <tom.hromatka@...cle.com>
Subject: Re: [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.
Powered by blists - more mailing lists