diff --git a/mm/slub.c b/mm/slub.c index 7b378e2ce270d00aa80323e3f2697c25a2ec0806..fbc415c3400956ba2ba134766757c938305492c5 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -1971,7 +1971,7 @@ static void *get_partial_node(struct kmem_cache *s, struct kmem_cache_node *n, t = acquire_slab(s, n, page, object == NULL, &objects); if (!t) - continue; /* cmpxchg raced */ + break; available += objects; if (!object) {