mm-kmemleak-disable-kasan-instrumentation-in-kmemleak.patch removed from -mm tree
The quilt patch titled
Subject: mm/kmemleak: disable KASAN instrumentation in kmemleak
has been removed from the -mm tree. Its filename was
mm-kmemleak-disable-kasan-instrumentation-in-kmemleak.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Waiman Long <[email protected]>
Subject: mm/kmemleak: disable KASAN instrumentation in kmemleak
Date: Thu, 7 Mar 2024 14:05:48 -0500
Kmemleak ia a memory leak checker. KASAN is also a memory checker but it focuses more on finding out-of-bounds and use-after-free bugs. Since kmemleak is inherently slow especially on systems with large number of CPUs, adding KASAN instrumentation will make it slower even more. As kmemleak is not for production use, the utility of enabling KASAN there is questionable.
This patch disables KASAN instrumentation for configurations that enable both of them to slightly reduce performance overhead.
---
mm/Makefile | 1 + 1 file changed, 1 insertion(+)
mm/Makefile renamed from mm/Makefile~mm-kmemleak-disable-kasan-instrumentation-in-kmemleak +1 -0
@@ -5,6 +5,7 @@ KASAN_SANITIZE_slab_common.o := n KASAN_SANITIZE_slub.o := n +KASAN_SANITIZE_kmemleak.o := n KCSAN_SANITIZE_kmemleak.o := n # These produce frequent data race reports: most of them are due to races on
_
Patches currently in -mm which might be from [email protected] are