Re: [PATCH 02/10] x86: Change size of node ids from u8 to u16

From: Eric Dumazet
Date: Sun Jan 13 2008 - 15:02:48 EST


travis@xxxxxxx a écrit :
Change the size of node ids from 8 bits to 16 bits to
accomodate more than 256 nodes.

Signed-off-by: Mike Travis <travis@xxxxxxx>
Reviewed-by: Christoph Lameter <clameter@xxxxxxx>
---
arch/x86/mm/numa_64.c | 9 ++++++---
arch/x86/mm/srat_64.c | 2 +-
include/asm-x86/numa_64.h | 4 ++--
include/asm-x86/topology.h | 2 +-
4 files changed, 10 insertions(+), 7 deletions(-)

So, you think some machine is going to have more than 256 nodes ?

If so, you probably need to change 'struct memnode' too (include/asm-x86/mmzone_64.h)


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/