aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/basic/docproc.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2007-03-25 12:31:17 +0000
committerLinus Torvalds <[email protected]>2007-03-25 21:57:34 +0000
commit9501b6cf5541f0d576d566a463f1e7d3eaaab4eb (patch)
tree7983c4cc3c82e465cfe88a7fd67e39dbed72e1e0 /scripts/basic/docproc.c
parentMerge master.kernel.org:/home/rmk/linux-2.6-arm (diff)
downloadkernel-9501b6cf5541f0d576d566a463f1e7d3eaaab4eb.tar.gz
kernel-9501b6cf5541f0d576d566a463f1e7d3eaaab4eb.zip
[PATCH] dynticks: fix hrtimer rounding error in next_timer_interrupt
The rework of next_timer_interrupt() fixed the timer wheel bugs, but invented a rounding error versus the next hrtimer event. This is caused by the conversion of the hrtimer internal representation to relative jiffies. This causes bug #8100: http://bugzilla.kernel.org/show_bug.cgi?id=8100 next_timer_interrupt() returns "now" in such a case and causes the code in tick_nohz_stop_sched_tick() to trigger the timer softirq, which is bogus as no timer is due for expiry. This results in an endless context switching between idle and ksoftirqd until a timer is due for expiry. Modify the hrtimer evaluation so that, it returns now + 1, when the conversion results in a delta < 1 jiffie. It's confirmed to resolve bug #8100 Reported-by: Emil Karlson <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions