Re: [PATCH -tip 01/32] sched: Wrap rq::lock access

From: Singh, Balbir
Date: Thu Nov 19 2020 - 18:32:23 EST


On 18/11/20 10:19 am, Joel Fernandes (Google) wrote:
> From: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
>
> In preparation of playing games with rq->lock, abstract the thing
> using an accessor.
>

Could you clarify games? I presume the intention is to redefine the scope of the lock based on whether core sched is enabled or not? I presume patch 4/32 has the details.

Balbir Singh