generic-ipi: Optimize accesses by using DEFINE_PER_CPU_SHARED_ALIGNED for IPI data
authorMilton Miller <miltonm@bga.com>
Mon, 18 Jan 2010 02:00:51 +0000 (13:00 +1100)
committerIngo Molnar <mingo@elte.hu>
Mon, 18 Jan 2010 08:02:59 +0000 (09:02 +0100)
commite03bcb68629c7f0728c95f1afe06ce48565c7713
tree3fdede3a2cefaedf1f5838e83c893a7564e548c9
parent6ccf80eb15ccaca4d3f1ab5162b9ded5eecd9971
generic-ipi: Optimize accesses by using DEFINE_PER_CPU_SHARED_ALIGNED for IPI data

The smp ipi data is passed around and given write access by
other cpus and should be separated from per-cpu data consumed by
this cpu.

Looking for hot lines, I saw call_function_data shared with
tick_cpu_sched.

Signed-off-by: Milton Miller <miltonm@bga.com>
Acked-by: Anton Blanchard <anton@samba.org>
Acked-by: Jens Axboe <jens.axboe@oracle.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: : Nick Piggin <npiggin@suse.de>
LKML-Reference: <20100118020051.GR12666@kryten>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/smp.c