Add a configure option to group pages by mobility
authorMel Gorman <mel@csn.ul.ie>
Tue, 16 Oct 2007 08:25:50 +0000 (01:25 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:42:59 +0000 (09:42 -0700)
commitb92a6edd4b77a8794adb497280beea5df5e59a14
tree396ea5cf2b53fc066e949c443f03747ec868de1e
parent535131e6925b4a95f321148ad7293f496e0e58d7
Add a configure option to group pages by mobility

The grouping mechanism has some memory overhead and a more complex allocation
path.  This patch allows the strategy to be disabled for small memory systems
or if it is known the workload is suffering because of the strategy.  It also
acts to show where the page groupings strategy interacts with the standard
buddy allocator.

Signed-off-by: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Joel Schopp <jschopp@austin.ibm.com>
Cc: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mmzone.h
init/Kconfig
mm/page_alloc.c