From 10257366d3c276d45bdc76480087eb0edad2ca7d Mon Sep 17 00:00:00 2001 From: Mel Gorman Date: Thu, 17 Nov 2011 10:41:26 +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.2