pavalos at theshell.com
Mon Dec 31 14:27:34 PST 2007
On Mon, Dec 31, 2007 at 08:32:40AM -0800, Matthew Dillon wrote:
> I suggest trying to use the serializing locks (kern/lwkt_serialize.c).
> Look at various network device drivers on how to install a serializing
> lock w/ the interrupt. Note that some reworking of the code might be
> needed since the ahc/ahd interrupt code probably tries to release/reaquire
> and/or do other nasty things when, in fact, you just want it to hold the
> lock through the whole mess.
So basically put a serializer lock in the sotfc, then use that lock when
Are there any particular rules w/ tsleep? Can I use msleep on a serializer?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: "Description: PGP signature"
More information about the Kernel