Linux – Kernel memory allocator patch

compilingkernellinuxmemorypatch

Is there any patch for Linux kernel to use different memory allocators, such as ned allocator or TLSF allocator?

Best Answer

The allocators you mention are userspace allocators, entirely different to kernel allocators. Perhaps some of the underlying concepts could be used in the kernel, but it would have to be implemented from scratch.

The kernel already has 3 allocators, SLAB, SLUB, SLOB, (and there was/is SLQB). SLUB in particular is designed to work well on multi-CPU systems.

As always if you have ideas on how to improve the kernel, your specific suggestions, preferably in the form of patches, are welcome on LKML :-)

Related Question