diff options
author | Andrey Konovalov | 2022-03-24 18:13:15 -0700 |
---|---|---|
committer | Linus Torvalds | 2022-03-24 19:06:50 -0700 |
commit | c32caa267b927b744610f4214bfde7ce7d55df1c (patch) | |
tree | 4f4148b432a813efff987a18e3b4bbdbb66c844e /lib/locking-selftest.c | |
parent | 80207910cd71b4e0e87140d165d82b5d3ff69e53 (diff) |
kasan: disable LOCKDEP when printing reports
If LOCKDEP detects a bug while KASAN is printing a report and if
panic_on_warn is set, KASAN will not be able to finish. Disable LOCKDEP
while KASAN is printing a report.
See https://bugzilla.kernel.org/show_bug.cgi?id=202115 for an example
of the issue.
Link: https://lkml.kernel.org/r/c48a2a3288200b07e1788b77365c2f02784cfeb4.1646237226.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Marco Elver <elver@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/locking-selftest.c')
0 files changed, 0 insertions, 0 deletions