[lkml]   [2005]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Make kzalloc a macro
    Christoph Lameter <> wrote:
    > Make kzalloc a macro and use __GFP_ZERO for zeroed slab allocations

    I'd question the usefulness of this. It adds more code to a fastpath
    (kmem_cache_alloc) so as to speed up a slowpath (kzalloc()) which is
    already slow due to its memset.

    It makes my kernel a bit fatter too - 150-odd bytes of text for some
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-09-24 00:39    [W:0.020 / U:6.432 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site