]> 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, 30 Nov 2011 04:11:06 +0000 (15:11 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 30 Nov 2011 04:13:46 +0000 (15:13 +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)