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
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
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