diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2022-04-29 09:16:10 -0500 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2022-05-11 14:34:14 -0500 |
commit | cb3c19c93d656caa6fe63d6277aabd7e570f1d03 (patch) | |
tree | 9417a39175b98f0fd014216ffe1139dc67a4d97d /kernel/softirq.c | |
parent | 16cc1bc67de88be19fa595f4645506ea2ac106d2 (diff) | |
download | linux-cb3c19c93d656caa6fe63d6277aabd7e570f1d03.tar.gz linux-cb3c19c93d656caa6fe63d6277aabd7e570f1d03.tar.bz2 linux-cb3c19c93d656caa6fe63d6277aabd7e570f1d03.zip |
signal: Use lockdep_assert_held instead of assert_spin_locked
The distinction is that assert_spin_locked() checks if the lock is
held *by*anyone* whereas lockdep_assert_held() asserts the current
context holds the lock. Also, the check goes away if you build
without lockdep.
Suggested-by: Peter Zijlstra <peterz@infradead.org>
Link: https://lkml.kernel.org/r/Ympr/+PX4XgT/UKU@hirez.programming.kicks-ass.net
Tested-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Link: https://lkml.kernel.org/r/20220505182645.497868-6-ebiederm@xmission.com
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'kernel/softirq.c')
0 files changed, 0 insertions, 0 deletions