[QUESTION] is SLAB considered legacy and deprecated?

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

 



Hello there,

I've been working on adding 'lockless cache' on sl[au]b for a while.
But what it actually does is actually adding 'queuing' on slub.

So there is a fundamental question coming into my mind:
	'is SLAB considered legacy and deprecated?'

It seems there are little development on SLAB and people think that
SLAB is legacy and deprecated, so CONFIG_SLUB is used by default.

But I think both has pros and cons for their own:
	SLAB: more temporal locality (cache friendly)
	but high usage of memory, and less spatial locality (TLB misses) than SLUB.

	SLUB: less temporal locality (less cache friendly) than SLAB
	but more spatial locality (TLB hit), and low usage of memory
	and good debugging feature.

Why do people say SLAB is deprecated/legacy?

Thanks,
Hyeonggon




[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