Messages in this thread | | | Date | Thu, 11 Oct 2012 11:19:30 -0300 | Subject | [Q] Default SLAB allocator | From | Ezequiel Garcia <> |
| |
Hello,
While I've always thought SLUB was the default and recommended allocator, I'm surprise to find that it's not always the case:
$ find arch/*/configs -name "*defconfig" | wc -l 452
$ grep -r "SLOB=y" arch/*/configs/ | wc -l 11
$ grep -r "SLAB=y" arch/*/configs/ | wc -l 245
This shows that, SLUB being the default, there are actually more defconfigs that choose SLAB.
I wonder...
* Is SLAB a proper choice? or is it just historical an never been re-evaluated? * Does the average embedded guy knows which allocator to choose and what's the impact on his platform?
Thanks,
Ezequiel
| |