sleep

Bruno E. O. Meneguele bmeneguele at gmail.com
Thu Nov 16 08:34:39 EST 2017


On 14-11, Max Filippov wrote:
> On Tue, Nov 14, 2017 at 8:52 AM, Bruno E. O. Meneguele
> <bmeneguele at gmail.com> wrote:
> > What
> > confused me for sometime was the 'atomic' vs 'interrupt' naming, but
> > after reading Robert's book it cames to the fact that they're the same.
> 
> Not exactly the same. Atomic means you're protected from some sort of
> interruption: e.g. you raise preemption counter and you're protected from
> scheduling, but you still may be interrupted, or you disable interrupts and
> you're protected from scheduling and interrupts, but there still may be an
> NMI.
> 

Ahh, well pointed. Got it. Thank you for the info :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20171116/ab20746b/attachment.bin 


More information about the Kernelnewbies mailing list