diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-11-12 22:12:06 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-11-13 20:46:24 +0100 |
commit | 27185016b806d5a1181ff501cae120582b2b27dd (patch) | |
tree | 44b0da428fccaea1ad83c537bcc99a80b9251227 /kernel/time/tick-oneshot.c | |
parent | nohz: Prevent clocksource wrapping during idle (diff) | |
download | linux-27185016b806d5a1181ff501cae120582b2b27dd.tar.xz linux-27185016b806d5a1181ff501cae120582b2b27dd.zip |
nohz: Track last do_timer() cpu
The previous patch which limits the sleep time to the maximum
deferment time of the time keeping clocksource has some limitations on
SMP machines: if all CPUs are idle then for all CPUs the maximum sleep
time is limited.
Solve this by keeping track of which cpu had the do_timer() duty
assigned last and limit the sleep time only for this cpu.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
LKML-Reference: <new-submission>
Cc: Jon Hunter <jon-hunter@ti.com>
Cc: John Stultz <johnstul@us.ibm.com>
Diffstat (limited to 'kernel/time/tick-oneshot.c')
0 files changed, 0 insertions, 0 deletions