Messages in this thread | | | Date | Tue, 21 Feb 2012 11:37:21 +0100 | From | Borislav Petkov <> | Subject | Re: [PATCH 2/5] x86: Move per cpu cpu_llc_id to a field in struct cpuinfo_x86 |
| |
On Mon, Feb 20, 2012 at 10:06:03PM -0400, Kevin Winchester wrote: > This simplifies the various code paths using this field as it > groups the per-cpu data together. > > Signed-off-by: Kevin Winchester <kjwinchester@gmail.com> > --- > arch/x86/include/asm/processor.h | 2 ++ > arch/x86/include/asm/smp.h | 2 -- > arch/x86/kernel/apic/apic_numachip.c | 2 +- > arch/x86/kernel/cpu/amd.c | 14 ++++---------- > arch/x86/kernel/cpu/common.c | 1 + > arch/x86/kernel/cpu/intel_cacheinfo.c | 11 ++--------- > arch/x86/kernel/smpboot.c | 18 ++++++++---------- > 7 files changed, 18 insertions(+), 32 deletions(-)
This actually makes the code even a bit easier on the eyes.
Acked-by: Borislav Petkov <bp@alien8.de>
-- Regards/Gruss, Boris.
| |