lkml.org 
[lkml]   [2004]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Race betwen the NMI handler and the RTC clock in practially all kernels II
Maciej W. Rozycki wrote:

>>And you need a mutex for SMP systems. If one processor is handling an
>>NMI, another processor may still be accessing the device.
>>
>>
> Actually this path is meant to be ever accessed by one CPU only (one that
>has its LINT1 line enabled), but it may be reached by other ones due to
>the NMI watchdog as code does not check if its run by the right processor.
>This probably qualifies as a bug. Only the watchdog code of the NMI
>handler is expected to run everywhere.
>
>
Yes, only one processor will run through the NMI code, but another
processor may be accessing the RTC or something else in CMOS. The mutex
will prevent the NMI and the RTC access from conflicting.

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

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:1.141 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site