[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANcMJZBcpWzJWCdV8XN6cOUsbykZ-0dre=FBP-zRDhHfi1MwrQ@mail.gmail.com>
Date: Sun, 1 Jul 2012 01:16:13 -0700
From: john stultz <johnstul@...ibm.com>
To: Jan Engelhardt <jengelh@...i.de>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
simon@...e.lp0.eu, Thomas Gleixner <tglx@...utronix.de>
Subject: Re: Leap second insertion causes futex to repeatedly timeout
On Sat, Jun 30, 2012 at 5:57 PM, Jan Engelhardt <jengelh@...i.de> wrote:
>
> This year's leap second insertion has had the strange effect on at least
> Linux versions 3.4.4 (my end) and 3.5-rc4 (Simon's box, Cc) that certain
> processes use up all CPU power, because of futexes repeatedly timing
> out. This seems to only affect certain processes.
>
> Simon observes - http://s85.org/owXfmLvt - that
> Firefox/Thunderbird/Chrome/Java are affected.
>
> As for me, it affects VirtualBox, mysqld and ksoftirqd. The processes
> continue to run and respond. Most weird: I can stop-start mysqld and the
> issue persists. (I would have expected it to go away because the leap
> second event would then be in the past that mysqld does not know about
> anymore.)
>
>
> Is this a kernel issue? glibc?
Some of the reports that the issue is resolved by calling:
$ date -s "`date`"
suggests that it might be due to clock_was_set() not being called
after the leap second was added, causing some hrtimer confusion.
Thomas: does that sound about right?
I've got an initial patch to add the clock_was_set() calls where
needed, but so far have not been able to reproduce the issue (tried
firefox and some simpler futex tests). I'll keep trying and hopefully
have something to send out tomorrow.
Again, my apologies for the trouble.
-john
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists