Mel Gorman 396faf0303 Allow huge page allocations to use GFP_HIGH_MOVABLE
Huge pages are not movable so are not allocated from ZONE_MOVABLE.  However,
as ZONE_MOVABLE will always have pages that can be migrated or reclaimed, it
can be used to satisfy hugepage allocations even when the system has been
running a long time.  This allows an administrator to resize the hugepage pool
at runtime depending on the size of ZONE_MOVABLE.

This patch adds a new sysctl called hugepages_treat_as_movable.  When a
non-zero value is written to it, future allocations for the huge page pool
will use ZONE_MOVABLE.  Despite huge pages being non-movable, we do not
introduce additional external fragmentation of note as huge pages are always
the largest contiguous block we care about.

[akpm@linux-foundation.org: various fixes]
Signed-off-by: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-17 10:22:59 -07:00
..
2007-07-16 09:05:45 -07:00
2007-07-16 09:05:47 -07:00
2007-07-16 09:05:47 -07:00
2007-07-16 09:05:48 -07:00
2007-07-16 09:05:47 -07:00
2007-07-16 09:05:47 -07:00
2007-07-16 09:05:49 -07:00
2007-07-16 09:05:50 -07:00
2006-12-07 08:39:36 -08:00
2007-07-16 09:05:50 -07:00
2006-12-04 02:00:22 -05:00
2007-07-16 09:05:47 -07:00
2007-07-16 09:05:51 -07:00
2007-05-09 12:30:56 -07:00
2007-05-21 09:18:19 -07:00
2007-07-13 14:14:28 +02:00
2007-07-16 09:05:49 -07:00
2007-07-16 09:05:49 -07:00
2007-07-16 09:05:49 -07:00
2007-07-09 18:51:58 +02:00
2007-07-16 09:05:50 -07:00
2007-07-16 09:05:43 -07:00
2007-07-16 09:05:50 -07:00
2007-07-16 09:05:48 -07:00
2007-07-16 09:05:47 -07:00
2007-05-09 08:57:56 +02:00