Re: [PATCH] mm: remove all the slab allocators

From: Fabio M. De Francesco
Date: Mon Apr 03 2023 - 00:04:21 EST


On lunedì 3 aprile 2023 05:51:42 CEST Fabio M. De Francesco wrote:
> On Sun, 2 Apr 2023, 13:04 Matthew Wilcox, <willy@xxxxxxxxxxxxx> wrote:
> > On Sun, Apr 02, 2023 at 05:09:14PM +0800, 郭辉 wrote:
> > > On 4/1/23 5:46 PM, Vlastimil Babka wrote:
> > > > As the SLOB removal is on track and the SLAB removal is planned, I
have
> > > > realized - why should we stop there and not remove also SLUB? What's a
> > > > slab allocator good for in 2023? The RAM sizes are getting larger and
> > > > the modules cheaper [1]. The object constructor trick was perhaps
> > > > interesting in 1994, but not with contemporary CPUs. So all the slab
> > > > allocator does today is just adding an unnecessary layer of complexity
> > > > over the page allocator.
> > >
> > > The slab allocator is very core and very important to the Linux kernel.
> > > After the patch is merged into the mainline, it will have a very
profound
> > > impact on the development of the Linux kernel.
> >
> > https://en.wikipedia.org/wiki/April_Fools%27_Day
>
> Wow!
>
> The most interesting implication of this "patch" is that you noticed that
> some people may actually need the link above to be able to distinguish
> between foolishness and reality...
>
> Thanks :-)
>
> Fabio

Ah, I was so shocked that didn't realize was responding with the GMail app
from the tablet... :-)

Fabio