The patch titled slub: add might_sleep_if() has been added to the -mm tree. Its filename is slub-add-might_sleep_if.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: slub: add might_sleep_if() From: OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> Currently SLUB doesn't warn about __GFP_WAIT. Add it into slab_alloc(). Signed-off-by: OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> Acked-by: Christoph Lameter <cl@xxxxxxxxxxxxxxxxxxxx> Cc: Pekka Enberg <penberg@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/slub.c | 1 + 1 file changed, 1 insertion(+) diff -puN mm/slub.c~slub-add-might_sleep_if mm/slub.c --- a/mm/slub.c~slub-add-might_sleep_if +++ a/mm/slub.c @@ -1616,6 +1616,7 @@ static __always_inline void *slab_alloc( unsigned long flags; unsigned int objsize; + might_sleep_if(gfpflags & __GFP_WAIT); local_irq_save(flags); c = get_cpu_slab(s, smp_processor_id()); objsize = c->objsize; _ Patches currently in -mm which might be from hirofumi@xxxxxxxxxxxxxxxxxx are linux-next.patch slub-add-might_sleep_if.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html