Re: [Xen-devel] [PATCH 0/8] xen: don't let keyhandlers block indefinitely on locks

2020-02-19 Thread Julien Grall
Hi Jan, On 14/02/2020 09:37, Jan Beulich wrote: On 13.02.2020 19:38, Andrew Cooper wrote: On 13/02/2020 12:54, Juergen Gross wrote: Keyhandlers dumping hypervisor information to the console often need to take locks while accessing data. In order to not block in case of system inconsistencies i

Re: [Xen-devel] [PATCH 0/8] xen: don't let keyhandlers block indefinitely on locks

2020-02-14 Thread Jan Beulich
On 13.02.2020 19:38, Andrew Cooper wrote: > On 13/02/2020 12:54, Juergen Gross wrote: >> Keyhandlers dumping hypervisor information to the console often need >> to take locks while accessing data. In order to not block in case of >> system inconsistencies it is convenient to use trylock variants wh

Re: [Xen-devel] [PATCH 0/8] xen: don't let keyhandlers block indefinitely on locks

2020-02-13 Thread Jürgen Groß
On 13.02.20 19:38, Andrew Cooper wrote: On 13/02/2020 12:54, Juergen Gross wrote: Keyhandlers dumping hypervisor information to the console often need to take locks while accessing data. In order to not block in case of system inconsistencies it is convenient to use trylock variants when obtaini

Re: [Xen-devel] [PATCH 0/8] xen: don't let keyhandlers block indefinitely on locks

2020-02-13 Thread Andrew Cooper
On 13/02/2020 12:54, Juergen Gross wrote: Keyhandlers dumping hypervisor information to the console often need to take locks while accessing data. In order to not block in case of system inconsistencies it is convenient to use trylock variants when obtaining the locks. On the other hand a busy sy

[Xen-devel] [PATCH 0/8] xen: don't let keyhandlers block indefinitely on locks

2020-02-13 Thread Juergen Gross
Keyhandlers dumping hypervisor information to the console often need to take locks while accessing data. In order to not block in case of system inconsistencies it is convenient to use trylock variants when obtaining the locks. On the other hand a busy system might easily encounter held locks, so t