Messages in this thread |  | | Date | Fri, 20 Nov 2020 11:55:22 -0500 | From | Joel Fernandes <> | Subject | Re: [PATCH -tip 01/32] sched: Wrap rq::lock access |
| |
On Fri, Nov 20, 2020 at 10:31:39AM +1100, Singh, Balbir wrote: > On 18/11/20 10:19 am, Joel Fernandes (Google) wrote: > > From: Peter Zijlstra <peterz@infradead.org> > > > > 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.
Your line wrapping broke, I fixed it.
That is in fact the game. By wrapping it, the nature of the locking is dynamic based on whether core sched is enabled or not (both statically and dynamically).
thanks,
- Joel
> Balbir Singh
|  |