SLUB: Don't pass __GFP_FAIL for the initial allocation
authorPekka Enberg <penberg@cs.helsinki.fi>
Wed, 24 Jun 2009 18:59:51 +0000 (21:59 +0300)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 24 Jun 2009 19:20:14 +0000 (12:20 -0700)
commitba52270d18fb17ce2cf176b35419dab1e43fe4a3
tree6023e8e0b5b722be7193902894934aaef21e5144
parent4923abf9f1a4c1864af438a57c1f3686548230e9
SLUB: Don't pass __GFP_FAIL for the initial allocation

SLUB uses higher order allocations by default but falls back to small
orders under memory pressure. Make sure the GFP mask used in the initial
allocation doesn't include __GFP_NOFAIL.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slub.c