From 6c280ba90241491c1625b755f02c17e82b1c1a07 Mon Sep 17 00:00:00 2001 From: Mel Gorman Date: Fri, 2 Dec 2011 14:11:40 +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