From 5a053f3c50ea3a4e7061899ef72b909c7ec663c0 Mon Sep 17 00:00:00 2001 From: Mel Gorman Date: Wed, 30 Nov 2011 15:11:06 +1100 Subject: [PATCH] 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 --- include/linux/gfp.h | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.39.5