Re: [PATCH] mm/slub: remove duplicate initialization for early_kmem_cache_node_alloc()

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

 



On Tue, Apr 9, 2024 at 2:23 AM Christoph Lameter (Ampere) <cl@xxxxxxxxx> wrote:
>
> On Sun, 7 Apr 2024, David Rientjes wrote:
>
> > What user observable effect does this have given it would only make a
> > difference when slab_state == DOWN?
>
> It reduces the kernel text size and removes a line from source code.
>
>
>

Yes, it only affects when slab_state == DOWN.
early_kmem_cache_node_alloc() is called exclusively
when the slab_state == DOWN, by init_kmem_cache_nodes().





[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