From: Mel Gorman Date: Fri, 2 Dec 2011 03:11:40 +0000 (+1100) Subject: mm-do-not-stall-in-synchronous-compaction-for-thp-allocations-v3 X-Git-Tag: next-20111205~1^2~157 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=517277adeb036d90905e42d26ac6e66b953fe491;p=karo-tx-linux.git mm-do-not-stall-in-synchronous-compaction-for-thp-allocations-v3 Cc: Andy Isaacson Cc: Johannes Weiner Cc: Andrea Arcangeli Cc: Mel Gorman Cc: Alan Cox Cc: Minchan Kim Signed-off-by: Andrew Morton --- diff --git a/include/linux/gfp.h b/include/linux/gfp.h index 1f862447ea79..82d30fafed6b 100644 --- a/include/linux/gfp.h +++ b/include/linux/gfp.h @@ -89,6 +89,9 @@ struct vm_area_struct; * 1. Do not wake kswapd (hence the flag name) * 2. Do not use stall in synchronous compaction for high-order allocations * as this may cause the caller to stall writing out pages + * + * This flag it primarily intended for use with transparent hugepage support. + * If the flag is used outside the VM, linux-mm should be cc'd for review. */ #define __GFP_NO_KSWAPD ((__force gfp_t)___GFP_NO_KSWAPD)