Re: [bisected] Strange slowdowns timerfd related

From: Thomas Gleixner
Date: Wed May 25 2011 - 17:11:00 EST


On Wed, 25 May 2011, Markus Trippelsdorf wrote:

> 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 <tglx@xxxxxxxxxxxxx>
> 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

------->

diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
index c541ee5..a9205e3 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
@@ -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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/