]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-do-not-stall-in-synchronous-compaction-for-thp-allocations-v3
authorMel Gorman <mgorman@suse.de>
Wed, 16 Nov 2011 23:41:26 +0000 (10:41 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 18 Nov 2011 03:49:51 +0000 (14:49 +1100)
Cc: Andy Isaacson <adi@hexapodia.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Minchan Kim <minchan.kim@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/gfp.h

index 1f862447ea79b2c8ff373a73ef6e09895867313e..82d30fafed6bee5361b21bd82c6b6e88e38c430c 100644 (file)
@@ -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)