Re: [patch 2.6.19-rc6] rtc class locking bugfixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 16 Nov 2006 23:27:37 -0800
David Brownell <[email protected]> wrote:

> I got a lockdep warning when running "rtctest" so I though it'd be good
> to see what was up.
> 
>  - The warning was for rtc->irq_task_lock, gotten from rtc_update_irq()
>    by irq handlerss ... but in a handful of other cases, grabbed without
>    blocking IRQs.
> 
>  - Some callers to rtc_update_irq() were not ensuring IRQs were blocked,
>    yet the routine expects that; make sure all callers block IRQs.
> 
> It would appear that RTC API tests haven't been part of anyone's kernel
> regression test suite recently, at least not with lockdep running.
> 
> Signed-off-by: David Brownell <[email protected]>

 Acked-by: Alessandro Zummo <[email protected]>

-- 

 Best regards,

 Alessandro Zummo,
  Tower Technologies - Turin, Italy

  http://www.towertech.it

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux