Re: [PATCH] sched_clock: Disable seqlock lockdep usage in sched_clock

2014-01-02 Thread John Stultz
On 01/02/2014 02:15 PM, Linus Torvalds wrote: > On Thu, Jan 2, 2014 at 1:54 PM, John Stultz wrote: >> Unforunately the seqlock lockdep enablmenet can't be used >> in sched_clock, since the lockdep infrastructure eventually >> calls into sched_clock, which causes a deadlock. >> >> Thus, this patch

Re: [PATCH] sched_clock: Disable seqlock lockdep usage in sched_clock

2014-01-02 Thread Linus Torvalds
On Thu, Jan 2, 2014 at 1:54 PM, John Stultz wrote: > Unforunately the seqlock lockdep enablmenet can't be used > in sched_clock, since the lockdep infrastructure eventually > calls into sched_clock, which causes a deadlock. > > Thus, this patch adds _no_lockdep() seqlock methods for the > writer s