Subject: Re: Mutex question
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: Matthew Orgass <darkstar@city-net.com>
List: tech-kern
Date: 03/16/2006 11:52:30
On 2006-03-16 smb@cs.columbia.edu wrote:
>
> The question is this: what do you do in the interrupt handler or
> timeout if you can't get the mutex?  You can't sleep; there's no
> process context.

  Only spin locks can be used.  The spl calls make sure there is never
contention from the same processor.

Matthew Orgass
darkstar@city-net.com