Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Feb 2001 21:23:34 -0600
From:      "Jason Smethers" <jsmethers@pdq.net>
To:        "FreeBSD-audit" <FreeBSD-audit@freebsd.org>
Subject:   Convert taskqueue from splhigh() to mtx_*()
Message-ID:  <017a01c08cc7$8727ffe0$edcf1f40@pdq.net>

next in thread | raw e-mail | index | archive | help
The following patch converts taskqueue from spl[high,x]()'s to mtx_*()
and adds appropriate sys[un]init functions in the hopes that one day
these will be placeable in a throwaway ELF section. It is pretty much
a straightforward spl -> mtx changeover. Other changes include some
<sys/queue.h> usage simplification IMO, and I added a KASSERT() to
taskqueue_free() but there is currently no consumer of this routine.

Currently there is only one consumer of taskqueue - the generic
software interrupt taskqueue. The software interrupt taskqueue has
four consumers: aac, acpica, amr, and mly.

The patch compiles, but is not tested with these consuming drivers.

http://64.31.203.118/~jason/FreeBSD-other/queue/patches/taskqueue.patc
h

Thanks
- Jason



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?017a01c08cc7$8727ffe0$edcf1f40>