Re: [PATCH v10 2/5] sched: CGroup tagging interface for core scheduling

From: Josh Don
Date: Thu Feb 04 2021 - 23:10:12 EST


On Thu, Feb 4, 2021 at 6:36 AM Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> refcount_dec_and_lock() avoids that complication.

There isn't currently an interface for raw_spin_locks. Certainly could
add a new interface in a separate patch as part of this series, but
doesn't seem that bad to do the locking inline.