aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/toshiba.h
diff options
context:
space:
mode:
authorMel Gorman <mel@csn.ul.ie>2007-07-26 13:41:18 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-26 14:35:19 -0400
commitb5445f956ec3c8c19b760775e9ff92a160e3a167 (patch)
tree034d62678f1e402e6d71b07ba0bf96544554a2ba /include/linux/toshiba.h
parentee2077d97b2f392cfc0b884775ac58aa9b9b8c8f (diff)
Allow nodes to exist that only contain ZONE_MOVABLE
With the introduction of kernelcore=, a configurable zone is created on request. In some cases, this value will be small enough that some nodes contain only ZONE_MOVABLE. On some NUMA configurations when this occurs, arch-independent zone-sizing will get the size of the memory holes within the node incorrect. The value of present_pages goes negative and the boot fails. This patch fixes the bug in the calculation of the size of the hole. The test case is to boot test a NUMA machine with a low value of kernelcore= before and after the patch is applied. While this bug exists in early kernel it cannot be triggered in practice. This patch has been boot-tested on a variety machines with and without kernelcore= set. 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>
Diffstat (limited to 'include/linux/toshiba.h')
0 files changed, 0 insertions, 0 deletions