Re: [PATCH] timekeeping: Fix HRTICK related deadlock from ntp lock changes

2013-09-12 Thread Gerlando Falauto
Hi, On 09/12/2013 01:50 AM, John Stultz wrote: [...] The deadlock was introduced by 06c017fdd4dc48451a (timekeeping: Hold timekeepering locks in do_adjtimex and hardpps) in 3.10 This patch avoids this deadlock, by moving the call to schedule_delayed_work() outside of the timekeeper lock critic

[PATCH] timekeeping: Fix HRTICK related deadlock from ntp lock changes

2013-09-11 Thread John Stultz
It was reported that when HRTICK is enabled, its possible to trigger system deadlocks. These were hard to reproduce, as HRTICK has been broken in the past, but seemed to be connected to the timekeeping_seq lock. Since seqlock/seqcount's aren't supported w/ lockdep, I added some extra spinlock base