Re: [PATCH v2] mm/slab: simplify SLAB_* flag handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>

Added to slab/for-next, thanks!





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux