Skip to contentSkip to conversation

Strange slowdowns timerfd related

bisected Markus Trippelsdorf 2 participants 2 messages May 25, 2011

lore
Share & tools
lore
#0 lore raw

I've tested the latest git-kernel today and did experience long delays in Firefox. Just opening a new tab would take a few seconds and after typing a few characters into the "awesome bar" I would have to wait ages before the results were shown.

This is the bisection result:

commit 9ec2690758a5467f24beb301cca5098078073bba
Author: Thomas Gleixner <[email protected]>
Date: Fri May 20 16:18:50 2011 +0200

timerfd: Manage cancelable timers in timerfd

Reverting the commit above fixes the problem.

Signature · 1 line
Markus
#1 lore raw
Quoted 7 lines · Markus Trippelsdorf

I've tested the latest git-kernel today and did experience long delays in Firefox. Just opening a new tab would take a few seconds and after typing a few characters into the "awesome bar" I would have to wait ages before the results were shown.

This is the bisection result:

Quoted 7 lines

commit 9ec2690758a5467f24beb301cca5098078073bba
Author: Thomas Gleixner <[email protected]>
Date: Fri May 20 16:18:50 2011 +0200

timerfd: Manage cancelable timers in timerfd

Reverting the commit above fixes the problem.

Yes, Linus came to the same result. Fix below.

Thanks,

tglx_hidden_under_a_brown_paperbag

------->

kernel/hrtimer.c +1 -1
index c541ee5..a9205e3 100644
@@ -748,7 +748,7 @@ static inline void retrigger_next_event(void *arg) { }
  */
 void clock_was_set(void)
 {
-#ifdef CONFIG_HIGHRES_TIMERS
+#ifdef CONFIG_HIGH_RES_TIMERS
 	/* Retrigger the CPU local events everywhere */
 	on_each_cpu(retrigger_next_event, NULL, 1);
 #endif