diff options
| author | Keir Fraser <keir.fraser@citrix.com> | 2009-08-25 14:58:42 +0100 |
|---|---|---|
| committer | Keir Fraser <keir.fraser@citrix.com> | 2009-08-25 14:58:42 +0100 |
| commit | 92f8888d407253a91e15b0be92002e5e23f9c1c3 (patch) | |
| tree | a0b8ea9082d71690bb0a3af1b651f14b3b1d3ebb /xen/arch/x86/crash.c | |
| parent | 1e52826824aa236e1fb27e9aa21c72432dbf399a (diff) | |
| download | xen-92f8888d407253a91e15b0be92002e5e23f9c1c3.tar.gz xen-92f8888d407253a91e15b0be92002e5e23f9c1c3.tar.bz2 xen-92f8888d407253a91e15b0be92002e5e23f9c1c3.zip | |
x86 numa: Fix SRAT check for discontig memory
We currently compare the sum of the pages found in the SRAT table to
the address of the highest memory page found via the e820 table to
validate the SRAT. This is completely bogus if there's any kind of
discontiguous memory, where the sum of the pages could be much smaller
than the address of the highest page. I think all that's necessary is
to validate that each usable memory range in the e820 is covered by an
SRAT entry. This might not be the most efficient way to do it, but
there are usually a relatively small number of entries on each side.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Diffstat (limited to 'xen/arch/x86/crash.c')
0 files changed, 0 insertions, 0 deletions
