Loading mm/slub.c +6 −8 Original line number Diff line number Diff line Loading @@ -2272,8 +2272,7 @@ static void *__slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node, /* Then do expensive stuff like retrieving pages from the partial lists */ freelist = get_partial(s, gfpflags, node, c); if (unlikely(!freelist)) { if (!freelist) freelist = new_slab_objects(s, gfpflags, node, &c); if (unlikely(!freelist)) { Loading @@ -2283,7 +2282,6 @@ static void *__slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node, local_irq_restore(flags); return NULL; } } if (likely(!kmem_cache_debug(s))) goto load_freelist; Loading Loading
mm/slub.c +6 −8 Original line number Diff line number Diff line Loading @@ -2272,8 +2272,7 @@ static void *__slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node, /* Then do expensive stuff like retrieving pages from the partial lists */ freelist = get_partial(s, gfpflags, node, c); if (unlikely(!freelist)) { if (!freelist) freelist = new_slab_objects(s, gfpflags, node, &c); if (unlikely(!freelist)) { Loading @@ -2283,7 +2282,6 @@ static void *__slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node, local_irq_restore(flags); return NULL; } } if (likely(!kmem_cache_debug(s))) goto load_freelist; Loading