[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZgMHP5oVpNRvImq-@arm.com>
Date: Tue, 26 Mar 2024 17:34:55 +0000
From: Catalin Marinas <catalin.marinas@....com>
To: Waiman Long <longman@...hat.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] mm/kmemleak: Disable KASAN instrumentation in
kmemleak
On Thu, Mar 07, 2024 at 02:05:48PM -0500, Waiman Long wrote:
> 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.
>
> Signed-off-by: Waiman Long <longman@...hat.com>
Acked-by: Catalin Marinas <catalin.marinas@....com>
Powered by blists - more mailing lists