summaryrefslogtreecommitdiffstats
path: root/fs/buffer.c
diff options
context:
space:
mode:
authorMel Gorman <mel@csn.ul.ie>2007-07-17 13:03:15 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 19:22:59 +0200
commit7e63efef857575320fb413fbc3d0ee704b72845f (patch)
treece33c10e5f5d9ea16b0e6944d6994b1f9cc22040 /fs/buffer.c
parenthandle kernelcore=: generic (diff)
downloadlinux-7e63efef857575320fb413fbc3d0ee704b72845f.tar.xz
linux-7e63efef857575320fb413fbc3d0ee704b72845f.zip
Add a movablecore= parameter for sizing ZONE_MOVABLE
This patch adds a new parameter for sizing ZONE_MOVABLE called movablecore=. While kernelcore= is used to specify the minimum amount of memory that must be available for all allocation types, movablecore= is used to specify the minimum amount of memory that is used for migratable allocations. The amount of memory used for migratable allocations determines how large the huge page pool could be dynamically resized to at runtime for example. How movablecore is actually handled is that the total number of pages in the system is calculated and a value is set for kernelcore that is kernelcore == totalpages - movablecore Both kernelcore= and movablecore= can be safely specified at the same time. Signed-off-by: Mel Gorman <mel@csn.ul.ie> Acked-by: Andy Whitcroft <apw@shadowen.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions