Messages in this thread | | | Date | Sun, 29 Jun 2008 17:43:02 +0300 | From | Eduard - Gabriel Munteanu <> | Subject | Re: -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
| |