lkml.org 
[lkml]   [2012]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    Subject[Q] Default SLAB allocator
    From
    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


    \
     
     \ /
      Last update: 2012-10-11 17:01    [W:4.152 / U:0.724 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site