[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7fc8160d-db47-4034-b20c-f47e6ff7d394@suse.cz>
Date: Wed, 5 Feb 2025 15:57:03 +0100
From: Vlastimil Babka <vbabka@...e.cz>
To: Kevin Brodsky <kevin.brodsky@....com>, linux-mm@...ck.org
Cc: linux-kernel@...r.kernel.org, Christoph Lameter <cl@...ux.com>,
Pekka Enberg <penberg@...nel.org>, David Rientjes <rientjes@...gle.com>,
Joonsoo Kim <iamjoonsoo.kim@....com>,
Andrew Morton <akpm@...ux-foundation.org>,
Roman Gushchin <roman.gushchin@...ux.dev>,
Hyeonggon Yoo <42.hyeyoo@...il.com>
Subject: Re: [PATCH v2] mm/slab: simplify SLAB_* flag handling
On 1/24/25 17:48, Kevin Brodsky wrote:
> SLUB is the only remaining allocator. We can therefore get rid of
> the logic for allocator-specific flags:
>
> * Merge SLAB_CACHE_FLAGS into SLAB_CORE_FLAGS.
>
> * Remove CACHE_CREATE_MASK and instead mask out SLAB_DEBUG_FLAGS if
> !CONFIG_SLUB_DEBUG. SLAB_DEBUG_FLAGS is now defined
> unconditionally (no impact on existing code, which ignores it if
> !CONFIG_SLUB_DEBUG).
>
> * Define SLAB_FLAGS_PERMITTED in terms of SLAB_CORE_FLAGS and
> SLAB_DEBUG_FLAGS (no functional change).
>
> While at it also remove misleading comments that suggest that
> multiple allocators are available.
>
> Signed-off-by: Kevin Brodsky <kevin.brodsky@....com>
Added to slab/for-next, thanks!
Powered by blists - more mailing lists