slub: Add might_sleep_if() to slab_alloc()
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Wed, 19 Nov 2008 12:23:59 +0000 (21:23 +0900)
committerPekka Enberg <penberg@cs.helsinki.fi>
Mon, 29 Dec 2008 09:40:51 +0000 (11:40 +0200)
commit89124d706db0aa95daacfa4c0df45a43a44d44f4
tree785cc53484e9645c01ad29a18f9c3fff82c6eced
parent3c92ec8ae91ecf59d88c798301833d7cf83f2179
slub: Add might_sleep_if() to slab_alloc()

Currently SLUB doesn't warn about __GFP_WAIT. Add it into slab_alloc().

Acked-by: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
mm/slub.c