x86/preempt: Move preempt count to percpu hot section

No functional change.

Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Uros Bizjak <ubizjak@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20250303165246.2175811-4-brgerst@gmail.com
This commit is contained in:
Brian Gerst
2025-03-03 11:52:38 -05:00
committed by Ingo Molnar
parent 972f9cdff9
commit 46e8fff6d4
4 changed files with 17 additions and 14 deletions

View File

@@ -319,6 +319,7 @@ do { \
#ifdef CONFIG_PREEMPT_NOTIFIERS
struct preempt_notifier;
struct task_struct;
/**
* preempt_ops - notifiers called when a task is preempted and rescheduled