From: "Siddha, Suresh B" Align the per cpu runqueue to the cacheline boundary. This will minimize the number of cachelines touched during remote wakeup. Signed-off-by: Suresh Siddha Cc: Ingo Molnar Cc: Ravikiran G Thirumalai Cc: Nick Piggin Signed-off-by: Andrew Morton --- kernel/sched.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN kernel/sched.c~sched-align-rq-to-cacheline-boundary kernel/sched.c --- a/kernel/sched.c~sched-align-rq-to-cacheline-boundary +++ a/kernel/sched.c @@ -304,7 +304,7 @@ struct rq { struct lock_class_key rq_lock_key; }; -static DEFINE_PER_CPU(struct rq, runqueues); +static DEFINE_PER_CPU(struct rq, runqueues) ____cacheline_aligned_in_smp; static DEFINE_MUTEX(sched_hotcpu_mutex); static inline int cpu_of(struct rq *rq) _