diff options
author | Jon Tollefson <kniht@us.ibm.com> | 2008-10-16 18:59:43 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-10-21 15:17:48 +1100 |
commit | e81703724a966120ace6504c993bda9e084cbf3e (patch) | |
tree | 0b0914346bc745cab9e59b9edbe95aa764aa6959 /security | |
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions