-
- Downloads
x86: Convert a few more per-CPU items to read-mostly ones
Both this_cpu_off and cpu_info aren't getting modified post boot, yet are being accessed on enough code paths that grouping them with other frequently read items seems desirable. For cpu_info this at the same time implies removing the cache line alignment (which afaict became pointless when it got converted to per-CPU data years ago). Signed-off-by:Jan Beulich <jbeulich@suse.com> Link: http://lkml.kernel.org/r/54589BD20200007800044A84@mail.emea.novell.com Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
Showing
- arch/x86/include/asm/percpu.h 1 addition, 1 deletionarch/x86/include/asm/percpu.h
- arch/x86/include/asm/processor.h 2 additions, 2 deletionsarch/x86/include/asm/processor.h
- arch/x86/kernel/setup_percpu.c 1 addition, 1 deletionarch/x86/kernel/setup_percpu.c
- arch/x86/kernel/smpboot.c 1 addition, 1 deletionarch/x86/kernel/smpboot.c
Loading
Please register or sign in to comment