[lkml]   [2003]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [Oops] i386 mm/slab.c (cache_flusharray)
    Christoph Hellwig wrote:

    >Looks like whe're better of fixing mm/slab.c
    Maybe I'm blind, but I don't see how kmem_cache_alloc can return NULL
    with __GFP_NOFAIL:
    - kmem_cache_alloc calls __cache_alloc.
    - cache_alloc only return 0 if cache_alloc_refill returns 0.
    - cache_alloc_refill only return 0 if cache_grow returns 0.
    - cache_grow only return 0 if
    * SLAB_NO_GROW is set in flags.
    * get_free_pages(flags) fails.
    * kmem_cache_alloc(flags&SLAB_LEVEL_MASK) fails.


    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-03-22 13:59    [W:0.023 / U:4.752 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site