diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2006-03-25 16:31:46 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 18:14:38 +0100 |
commit | dcf36bfa5de6d4e37878d4c98b6986fee4eb8b4c (patch) | |
tree | 6b18d3efd64e55f14209f40ee3232da2ea25d69e /drivers/edac/i82860_edac.c | |
parent | [PATCH] x86_64: Eliminate register_die_notifier symbol exported (diff) | |
download | linux-dcf36bfa5de6d4e37878d4c98b6986fee4eb8b4c.tar.xz linux-dcf36bfa5de6d4e37878d4c98b6986fee4eb8b4c.zip |
[PATCH] x86_64: group memnodemap and memnodeshift in a memnode structure
pfn_to_page() and others need to access both memnode_shift and the very
first bytes of memnodemap[]. If we force memnode_shift to be just before the
memnodemap array, we can reduce the memory footprint to one cache line
instead of two for most setups. This patch introduce a 'memnode' structure
where shift and map[] are carefully placed.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/edac/i82860_edac.c')
0 files changed, 0 insertions, 0 deletions