diff options
author | Jon Tollefson <kniht@us.ibm.com> | 2008-10-16 18:59:43 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-10-21 04:17:48 (GMT) |
commit | e81703724a966120ace6504c993bda9e084cbf3e (patch) | |
tree | 0b0914346bc745cab9e59b9edbe95aa764aa6959 /kernel | |
parent | a5598ca0d49821912a5053c05f07fd650671eb6d (diff) | |
download | linux-fsl-qoriq-e81703724a966120ace6504c993bda9e084cbf3e.tar.xz |
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions