aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorAndrew Morton <[email protected]>2009-04-13 10:27:49 -0700
committerLinus Torvalds <[email protected]>2009-04-13 11:09:46 -0700
commit01599fca6758d2cd133e78f87426fc851c9ea725 (patch)
tree26a3f1d69c955de2c5388e5855dfe4ff3ff8687b /drivers/mtd/lpddr/lpddr_cmds.c
parent8371f87c9994d9942af5984309835aeb948ba579 (diff)
cpufreq: use smp_call_function_[single|many]() in acpi-cpufreq.c
Atttempting to rid us of the problematic work_on_cpu(). Just use smp_call_fuction_single() here. This repairs a 10% sysbench(oltp)+mysql regression which Mike reported, due to commit 6b44003e5ca66a3fffeb5bc90f40ada2c4340896 Author: Andrew Morton <[email protected]> Date: Thu Apr 9 09:50:37 2009 -0600 work_on_cpu(): rewrite it to create a kernel thread on demand It seems that the kernel calls these acpi-cpufreq functions at a quite high frequency. Valdis Kletnieks also reports that this causes 70-90 forks per second on his hardware. Cc: [email protected] Cc: Rusty Russell <[email protected]> Cc: Venkatesh Pallipadi <[email protected]> Cc: Len Brown <[email protected]> Cc: Zhao Yakui <[email protected]> Acked-by: Dave Jones <[email protected]> Cc: Thomas Gleixner <[email protected]> Tested-by: Mike Galbraith <[email protected]> Cc: "Zhang, Yanmin" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Acked-by: Ingo Molnar <[email protected]> [ Made it use smp_call_function_many() instead of looping over cpu's with smp_call_function_single() - Linus ] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions