summaryrefslogtreecommitdiff
path: root/mm/ioremap.c
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2022-11-28 12:45:40 +0300
committerAndrew Morton <akpm@linux-foundation.org>2022-12-12 05:12:11 +0300
commit1e8e4a7cc2fa3017b1daf02612e095d51924ce1e (patch)
tree0aeccee96d1c7db3b4cc57a6c07513313ffc60f5 /mm/ioremap.c
parentd3a89233583bf8edab18ac09732759c71dbe0173 (diff)
downloadlinux-1e8e4a7cc2fa3017b1daf02612e095d51924ce1e.tar.xz
lockdep: allow instrumenting lockdep.c with KMSAN
Lockdep and KMSAN used to play badly together, causing deadlocks when KMSAN instrumentation of lockdep.c called lockdep functions recursively. Looks like this is no more the case, and a kernel can run (yet slower) with both KMSAN and lockdep enabled. This patch should fix false positives on wq_head->lock->dep_map, which KMSAN used to consider uninitialized because of lockdep.c not being instrumented. Link: https://lore.kernel.org/lkml/Y3b9AAEKp2Vr3e6O@sol.localdomain/ Link: https://lkml.kernel.org/r/20221128094541.2645890-1-glider@google.com Signed-off-by: Alexander Potapenko <glider@google.com> Reported-by: Eric Biggers <ebiggers@kernel.org> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Marco Elver <elver@google.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Will Deacon <will@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/ioremap.c')
0 files changed, 0 insertions, 0 deletions