aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorAlex Shi <[email protected]>2012-03-03 19:27:27 +0800
committerIngo Molnar <[email protected]>2012-03-05 09:19:20 +0100
commit901b04450a0ff44d579158b8b0492ce7e66cd442 (patch)
tree4db8e537f71b0bbae9c0fcf065335156ec967bde /fs
parente24b90b282d73c0654c716d449d91a07ebb8ecaf (diff)
x86/numa: Improve internode cache alignment
Currently cache alignment among nodes in the kernel is still 128 bytes on x86 NUMA machines - we got that X86_INTERNODE_CACHE_SHIFT default from old P4 processors. But now most modern x86 CPUs use the same size: 64 bytes from L1 to last level L3. so let's remove the incorrect setting, and directly use the L1 cache size to do SMP cache line alignment. This patch saves some memory space on kernel data, and it also improves the cache locality of kernel data. The System.map is quite different with/without this change: before patch after patch ... 000000000000b000 d tlb_vector_| 000000000000b000 d tlb_vector 000000000000b080 d cpu_loops_p| 000000000000b040 d cpu_loops_ ... Signed-off-by: Alex Shi <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions