lkml.org 
[lkml]   [2008]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: when spin_lock_irq (as opposed to spin_lock_irqsave) is appropriate?
Date
On Saturday 11 October 2008, Arjan van de Ven wrote:
[... very useful explanation omitted ...]
> Does this answer your question?
>

As Oliver pointed out, part of confusion wa my asumption that _irqsave
verion saves actual interrupt mask. It actually does not.

This leaves me with a question - how can I know whether interrupts may
(not) be disabled at particular point? In particular, is it safe to
assume that any place marked at "code may sleep" has interrupts enabled?

Thank you both!

-andrey
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2008-10-12 13:51    [W:0.044 / U:9.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site