commit | e81703724a966120ace6504c993bda9e084cbf3e | [log] [tgz] |
---|---|---|
author | Jon Tollefson <kniht@us.ibm.com> | Thu Oct 16 18:59:43 2008 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Tue Oct 21 15:17:48 2008 +1100 |
tree | 0b0914346bc745cab9e59b9edbe95aa764aa6959 | |
parent | a5598ca0d49821912a5053c05f07fd650671eb6d [diff] |
powerpc/numa: Make memory reserve code more robust Adjust amount to reserve based on previous nodes for reserves spanning multiple nodes. Check if the node active range is empty before attempting to pass the reserve to bootmem. In practice the range shouldn't be empty, but to be sure we check. Signed-off-by: Jon Tollefson <kniht@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>