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

2020-11-22 Thread Balbir Singh
On Fri, Nov 20, 2020 at 11:55:22AM -0500, Joel Fernandes wrote: > 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 > > > > > > In preparation of playing games with rq->lock, abstract the thing > > >

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

2020-11-20 Thread Joel Fernandes
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 > > > > In preparation of playing games with rq->lock, abstract the thing > > using an accessor. > > > > Could you clarify games? I presume the

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

2020-11-19 Thread Singh, Balbir
On 18/11/20 10:19 am, Joel Fernandes (Google) wrote: > From: Peter Zijlstra > > 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

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

2020-11-17 Thread Joel Fernandes (Google)
From: Peter Zijlstra In preparation of playing games with rq->lock, abstract the thing using an accessor. Tested-by: Julien Desfossez Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Vineeth Remanan Pillai Signed-off-by: Julien Desfossez Signed-off-by: Joel Fernandes (Google) ---