|
|
|
Re: Leap second insertion causes futex to repeatedly timeout | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
|
On Sun, Jul 01, 2012 at 01:16:13AM -0700, john stultz wrote: > On Sat, Jun 30, 2012 at 5:57 PM, Jan Engelhardt <jengelh@xxxxxxx> 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. I can't vouch for whether this is the problem or not, but be very careful with clock_was_set()! See this commit: http://www.mail-archive.com/git-commits-head@xxxxxxxxxxxxxxx/msg15039.html In short, clock_was_set() calls on_each_cpu() which is not allowed to be called in atomic context. Watch out for xtime_lock. Ben -- 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/
[Other Archives] [Linux Kernel Newbies] [Linux Driver Development] [Linux Kbuild] [Fedora Kernel] [Linux Kernel Testers] [Linux SH] [Linux Omap] [Linux Tape] [Linux Input] [Linux Kernel Janitors] [Linux Kernel Packagers] [Linux Doc] [Linux Man Pages] [Linux API] [Linux Memory Management] [Linux Modules] [Linux Standards] [Kernel Announce] [Netdev] [Git] [Linux PCI] Linux CAN Development [Linux I2C] [Linux RDMA] [Linux NUMA] [Netfilter] [Netfilter Devel] [SELinux] [Bugtraq] [FIO] [Linux Perf Users] [Linux Serial] [Linux PPP] [Linux ISDN] [Linux Next] [Kernel Stable Commits] [Linux Tip Commits] [Kernel MM Commits] [Linux Security Module] [AutoFS] [Filesystem Development] [Ext3 Filesystem] [Linux bcache] [Ext4 Filesystem] [Linux BTRFS] [Linux CEPH Filesystem] [Linux XFS] [XFS] [Linux NFS] [Linux CIFS] [Ecryptfs] [Linux NILFS] [Linux Cachefs] [Reiser FS] [Initramfs] [Linux FB Devel] [Linux OpenGL] [DRI Devel] [Fastboot] [Linux RT Users] [Linux RT Stable] [eCos] [Corosync] [Linux Clusters] [LVS Devel] [Hot Plug] [Linux Virtualization] [KVM] [KVM PPC] [KVM ia64] [Linux Containers] [Linux Hexagon] [Linux Cgroups] [Util Linux] [Wireless] [Linux Bluetooth] [Bluez Devel] [Ethernet Bridging] [Embedded Linux] [Barebox] [Linux MMC] [Linux IIO] [Sparse] [Smatch] [Linux Arch] [x86 Platform Driver] [Linux ACPI] [Linux IBM ACPI] [LM Sensors] [CPU Freq] [Linux Power Management] [Linmodems] [Linux DCCP] [Linux SCTP] [ALSA Devel] [Linux USB] [Linux PA RISC] [Linux Samsung SOC] [MIPS Linux] [IBM S/390 Linux] [ARM Linux] [ARM Kernel] [ARM MSM] [Tegra Devel] [Sparc Linux] [Linux Security] [Linux Sound] [Linux Media] [Video 4 Linux] [Linux IRDA Users] [Linux for the blind] [Linux RAID] [Linux ATA RAID] [Device Mapper] [Linux SCSI] [SCSI Target Devel] [Linux SCSI Target Infrastructure] [Linux IDE] [Linux SMP] [Linux AXP] [Linux Alpha] [Linux M68K] [Linux ia64] [Linux 8086] [Linux x86_64] [Linux Config] [Linux Apps] [Linux MSDOS] [Linux X.25] [Linux Crypto] [DM Crypt] [Linux Trace Users] [Linux Btrace] [Linux Watchdog] [Utrace Devel] [Linux C Programming] [Linux Assembly] [Dash] [DWARVES] [Hail Devel] [Linux Kernel Debugger] [Linux gcc] [Gcc Help] [X.Org] [Wine]
![]() |
![]() |
[Older Kernel Discussion] [Yosemite National Park Forum] [Large Format Photos] [Gimp] [Yosemite Photos] [Stuff]