[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPAsAGxdD04nOz35TERJi0aPs+9TBEytrqNVq8h4EA819PA9pg@mail.gmail.com>
Date: Thu, 20 Mar 2025 17:44:06 +0100
From: Andrey Ryabinin <ryabinin.a.a@...il.com>
To: Harry Yoo <harry.yoo@...cle.com>
Cc: Alexander Potapenko <glider@...gle.com>, Andrey Konovalov <andreyknvl@...il.com>,
Dmitry Vyukov <dvyukov@...gle.com>, Vincenzo Frascino <vincenzo.frascino@....com>,
Andrew Morton <akpm@...ux-foundation.org>, kasan-dev@...glegroups.com, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH mm-unstable] mm/kasan: use SLAB_NO_MERGE flag instead of
an empty constructor
On Tue, Mar 18, 2025 at 2:59 AM Harry Yoo <harry.yoo@...cle.com> wrote:
>
> Use SLAB_NO_MERGE flag to prevent merging instead of providing an
> empty constructor. Using an empty constructor in this manner is an abuse
> of slab interface.
>
> The SLAB_NO_MERGE flag should be used with caution, but in this case,
> it is acceptable as the cache is intended solely for debugging purposes.
>
> No functional changes intended.
>
> Signed-off-by: Harry Yoo <harry.yoo@...cle.com>
Acked-by: Andrey Ryabinin <ryabinin.a.a@...il.com>
Powered by blists - more mailing lists