[lkml]   [2007]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 08/29] mm: kmem_cache_objs_to_pages()
    Hi Peter,

    On 2/21/07, Peter Zijlstra <> wrote:
    > Provide a method to calculate the number of pages needed to store a given
    > number of slab objects (upper bound when considering possible partial and
    > free slabs).

    So how does this work? You ask the slab allocator how many pages you
    need for a given number of objects and then those pages are available
    to it via the page allocator? Can other users also dip into those

    I would prefer we simply have an API for telling the slab allocator to
    keep certain number of pages in a reserve for a cache rather than
    exposing internals such as object size to rest of the world.

    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: 2007-02-21 16:51    [W:0.019 / U:210.556 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site