In message: <[EMAIL PROTECTED]>
            Hans Petter Selasky <[EMAIL PROTECTED]> writes:
: Are there any comments on integrating this functionality into msleep(), and 
: adding mtx_drop_recurse() and mtx_pickup_recurse() to the FreeBSD kernel?

This is generally a bad idea.  We allow it for Giant because it has to
be acquired everywhere and we have to drop it in some extremely ugly
places.  To enshrine this behavior for all mutexes strikes me as ill
advised.  Adding additional hacks to recursive mutexes seems wrong to
my way of thinking.

Warner
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to