aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorMike Galbraith <[email protected]>2014-01-18 17:14:44 +0100
committerIngo Molnar <[email protected]>2015-03-16 11:14:22 +0100
commitf8e617f4582995f7c25ef25b4167213120ad122b (patch)
treea7c1a1b1e45b27cc9e36a76ab83396a0e70b04e2 /drivers/mtd/lpddr/lpddr_cmds.c
parentb253149b843f89cd300cbdbea27ce1f847506f99 (diff)
sched/idle/x86: Optimize unnecessary mwait_idle() resched IPIs
To fully take advantage of MWAIT, apparently the CLFLUSH instruction needs another quirk on certain CPUs: proper barriers around it on certain machines. On a Q6600 SMP system, pipe-test scheduling performance, cross core, improves significantly: 3.8.13 487.2 KHz 1.000 3.13.0-master 415.5 KHz .852 3.13.0-master+ 415.2 KHz .852 + restore mwait_idle 3.13.0-master++ 488.5 KHz 1.002 + restore mwait_idle + IPI fix Since X86_BUG_CLFLUSH_MONITOR is already a quirk, don't create a separate quirk for the extra smp_mb()s. Signed-off-by: Mike Galbraith <[email protected]> Cc: <[email protected]> # 3.10+ Cc: Borislav Petkov <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Ian Malone <[email protected]> Cc: Josh Boyer <[email protected]> Cc: Len Brown <[email protected]> Cc: Len Brown <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/[email protected] [ Ported to recent kernel, added comments about the quirk. ] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions