diff options
author | Bob Picco <bob.picco@hp.com> | 2005-10-29 17:23:05 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-11-08 09:56:15 -0800 |
commit | 97835245768a638002722a36ba9a3b76d0910f68 (patch) | |
tree | 14953474ff8aa28f61150518b9af2ef55968f6fc /arch/x86_64/boot | |
parent | f093182d313edde9b1f86dbdaf40ba4da2dbd0e7 (diff) |
[IA64] fix memory less node allocation
The original memory less node allocation attempted to use NODEDATA_ALIGN for
alignment. The bootmem allocator only allows a power of two alignments. This
causes a BUG_ON for some nodes. For cpu only nodes just allocate with a
PERCPU_PAGE_SIZE alignment.
Some older firmware reports SLIT distances of 0xff and results in bestnode
not being computed. This is now treated correctly.
The failed allocation check was removed because it's redundant. The
bootmem allocator already makes this check.
This fix has been boot tested on 4 node machine which has 4 cpu only nodes
and 1 memory node. Thanks to Pete Keilty for reporting this and helping me
test it.
Signed-off-by: Bob Picco <bob.picco@hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/x86_64/boot')
0 files changed, 0 insertions, 0 deletions