Re: [Xen-devel] [PATCH 01/16] xen: sched: fix locking when allocating an RTDS pCPU

2016-03-23 Thread George Dunlap
On 18/03/16 19:04, Dario Faggioli wrote: > as doing that include changing the scheduler lock > mapping for the pCPU itself, and the correct way > of doing that is: > - take the lock that the pCPU is using right now >(which may be the lock of another scheduler); > - change the mapping of the l

[Xen-devel] [PATCH 01/16] xen: sched: fix locking when allocating an RTDS pCPU

2016-03-19 Thread Dario Faggioli
as doing that include changing the scheduler lock mapping for the pCPU itself, and the correct way of doing that is: - take the lock that the pCPU is using right now (which may be the lock of another scheduler); - change the mapping of the lock to the RTDS one; - release the lock (the one tha

Re: [Xen-devel] [PATCH 01/16] xen: sched: fix locking when allocating an RTDS pCPU

2016-03-18 Thread Meng Xu
On Fri, Mar 18, 2016 at 3:04 PM, Dario Faggioli wrote: > as doing that include changing the scheduler lock > mapping for the pCPU itself, and the correct way > of doing that is: > - take the lock that the pCPU is using right now >(which may be the lock of another scheduler); > - change the m