Re: [PATCH v3 3/3] xen/rwlock: add check_lock() handling to rwlocks

2020-11-04 Thread Jan Beulich
On 04.11.2020 09:15, Juergen Gross wrote: > Checking whether a lock is consistently used regarding interrupts on > or off is beneficial for rwlocks, too. > > So add check_lock() calls to rwlock functions. For this purpose make > check_lock() globally accessible. > > Signed-off-by: Juergen Gross

Re: [PATCH v3 3/3] xen/rwlock: add check_lock() handling to rwlocks

2020-11-04 Thread Julien Grall
Hi Juergen, On 04/11/2020 08:15, Juergen Gross wrote: Checking whether a lock is consistently used regarding interrupts on or off is beneficial for rwlocks, too. So add check_lock() calls to rwlock functions. For this purpose make check_lock() globally accessible. Signed-off-by: Juergen Gross

[PATCH v3 3/3] xen/rwlock: add check_lock() handling to rwlocks

2020-11-04 Thread Juergen Gross
Checking whether a lock is consistently used regarding interrupts on or off is beneficial for rwlocks, too. So add check_lock() calls to rwlock functions. For this purpose make check_lock() globally accessible. Signed-off-by: Juergen Gross --- V2: - call check_lock() unconditionally in try_lock