]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tick-sched: add specific do_timer_cpu value for nohz off mode
authorDimitri Sivanich <sivanich@sgi.com>
Fri, 2 Dec 2011 03:08:47 +0000 (14:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 2 Dec 2011 03:15:23 +0000 (14:15 +1100)
commitd350974a57a3152dde0b3f78488351efed5bc8d4
tree39b93cce4d8e2a9c46bfdf6a3ead52aca41bea62
parent83a53c44fd295b3763b00e44ab310a5176f38983
tick-sched: add specific do_timer_cpu value for nohz off mode

Show and modify the tick_do_timer_cpu via sysfs.  This determines the cpu
on which global time (jiffies) updates occur.  Modification can only be
done on systems with nohz mode turned off.

While not necessarily harmful, doing jiffies updates on an application cpu
does cause some extra overhead that HPC benchmarking people notice.  They
prefer to have OS activity isolated to certain cpus.  They like
reproducibility of results, and having jiffies updates bouncing around
introduces variability.

Signed-off-by: Dimitri Sivanich <sivanich@sgi.com>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/ABI/testing/sysfs-devices-system-timekeeping [new file with mode: 0644]
drivers/base/sys.c
include/linux/sysdev.h
kernel/time/tick-sched.c