Re: [Xen-devel] [PATCH 5/8] xen/sched: use keyhandler locks when dumping data to console

2020-02-19 Thread Jürgen Groß
On 19.02.20 15:31, Dario Faggioli wrote: On Thu, 2020-02-13 at 13:54 +0100, Juergen Gross wrote: Instead of using the normal locks use the keyhandler provided trylocks with timeouts. This requires a special primitive for the scheduler lock. So, FWIW, I tend to agree with Andrew on the general

Re: [Xen-devel] [PATCH 5/8] xen/sched: use keyhandler locks when dumping data to console

2020-02-19 Thread Dario Faggioli
On Thu, 2020-02-13 at 13:54 +0100, Juergen Gross wrote: > Instead of using the normal locks use the keyhandler provided > trylocks > with timeouts. This requires a special primitive for the scheduler > lock. > So, FWIW, I tend to agree with Andrew on the general aspects of this. I.e., I

[Xen-devel] [PATCH 5/8] xen/sched: use keyhandler locks when dumping data to console

2020-02-13 Thread Juergen Gross
Instead of using the normal locks use the keyhandler provided trylocks with timeouts. This requires a special primitive for the scheduler lock. Signed-off-by: Juergen Gross --- xen/common/sched/core.c| 7 +++ xen/common/sched/cpupool.c | 4 +++- xen/common/sched/credit.c | 25