x86/percpu: Move cpu_number next to current_task
authorThomas Gleixner <tglx@linutronix.de>
Thu, 15 Sep 2022 11:11:03 +0000 (13:11 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 17 Oct 2022 14:41:04 +0000 (16:41 +0200)
commit7443b296e699e6922f5be243c8d2e316de8cacbe
treeded4114cf1e1c70d98286916c410fc49a4c46209
parent64701838bf0575ef8acb1ad2db5934e864f3e6c3
x86/percpu: Move cpu_number next to current_task

Also add cpu_number to the pcpu_hot structure, it is often referenced
and this cacheline is there.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220915111145.387678283@infradead.org
arch/x86/include/asm/current.h
arch/x86/include/asm/smp.h
arch/x86/kernel/setup_percpu.c