DragonFly submit List (threaded) for 2008-03
DragonFly BSD
DragonFly submit List (threaded) for 2008-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: zsleep() and serializer msgport backend


From: "Thomas E. Spanjaard" <tgen@xxxxxxxxxxxxx>
Date: Tue, 04 Mar 2008 14:57:45 +0000

Sepherosa Ziehau wrote:
http://leaf.dragonflybsd.org/~sephe/msgport_slize.diff

The above patch create:
1) zsleep(), similar to msleep(), expect serializer is involved
2) serializer msgport backend, similar to spin msgport backend, except
that serializer is involved and caller is assumed to hold serializer

Please review it.

Looks good and very useful. I can imagine all sorts of uses for drivers with serialized interrupt handlers... I'm not sure whether 'slize' is a well-chosen abbreviation though, but that's merely cosmetics. Good to go imho!


Cheers,
--
        Thomas E. Spanjaard
        tgen@netphreax.net

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]