Revision 01599fca6758d2cd133e78f87426fc851c9ea725 authored by Andrew Morton on 13 April 2009, 17:27:49 UTC, committed by Linus Torvalds on 13 April 2009, 18:09:46 UTC
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 <akpm@linux-foundation.org> 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: Valdis.Kletnieks@vt.edu Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Cc: Len Brown <len.brown@intel.com> Cc: Zhao Yakui <yakui.zhao@intel.com> Acked-by: Dave Jones <davej@redhat.com> Cc: Thomas Gleixner <tglx@linutronix.de> Tested-by: Mike Galbraith <efault@gmx.de> Cc: "Zhang, Yanmin" <yanmin_zhang@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Ingo Molnar <mingo@elte.hu> [ Made it use smp_call_function_many() instead of looping over cpu's with smp_call_function_single() - Linus ] Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 8371f87
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 2.4 KB |
Kconfig.iosched | -rw-r--r-- | 1.9 KB |
Makefile | -rw-r--r-- | 582 bytes |
as-iosched.c | -rw-r--r-- | 38.7 KB |
blk-barrier.c | -rw-r--r-- | 9.8 KB |
blk-core.c | -rw-r--r-- | 58.1 KB |
blk-exec.c | -rw-r--r-- | 2.7 KB |
blk-integrity.c | -rw-r--r-- | 9.9 KB |
blk-ioc.c | -rw-r--r-- | 4.0 KB |
blk-map.c | -rw-r--r-- | 8.0 KB |
blk-merge.c | -rw-r--r-- | 10.1 KB |
blk-settings.c | -rw-r--r-- | 14.7 KB |
blk-softirq.c | -rw-r--r-- | 4.1 KB |
blk-sysfs.c | -rw-r--r-- | 10.5 KB |
blk-tag.c | -rw-r--r-- | 9.8 KB |
blk-timeout.c | -rw-r--r-- | 5.5 KB |
blk.h | -rw-r--r-- | 3.4 KB |
bsg.c | -rw-r--r-- | 23.3 KB |
cfq-iosched.c | -rw-r--r-- | 58.5 KB |
cmd-filter.c | -rw-r--r-- | 5.4 KB |
compat_ioctl.c | -rw-r--r-- | 21.6 KB |
deadline-iosched.c | -rw-r--r-- | 11.4 KB |
elevator.c | -rw-r--r-- | 27.1 KB |
genhd.c | -rw-r--r-- | 28.4 KB |
ioctl.c | -rw-r--r-- | 8.6 KB |
noop-iosched.c | -rw-r--r-- | 2.6 KB |
scsi_ioctl.c | -rw-r--r-- | 16.9 KB |
Computing file changes ...