lkml.org 
[lkml]   [2008]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: -tip: WARNING: at kernel/lockdep.c:2738
On Sun, 29 Jun 2008 15:51:33 +0200
"Vegard Nossum" <vegard.nossum@gmail.com> wrote:

> Yep, thanks, that gets rid of it for me! Although I'm not sure how
> reproducible it was in the first place.
>
>
> Vegard
>

lockdep's warnings are very reproducible as long as that code runs at
least once and that specific state transition occurs. AFAICS, all you
need to do is make sure cpu_clock() is called at least once with IRQs on
and at least once with IRQs off (this covers all possible cases). The
first case (IRQs on) is the important one and the one that produced the
bug, IMO.

The problem was raw_local_irq_save() does not record transitions, which
misleads lockdep. This likely wasn't a real bug.


Eduard


\
 
 \ /
  Last update: 2008-06-29 16:53    [W:0.032 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site