From owner-freebsd-audit Thu Feb 1 19:23:53 2001 Delivered-To: freebsd-audit@freebsd.org Received: from mail2.iadfw.net (smtp.pdq.net [206.66.12.234]) by hub.freebsd.org (Postfix) with SMTP id 5D84737B503 for ; Thu, 1 Feb 2001 19:23:35 -0800 (PST) Received: from jason from [64.31.207.237] by mail2.iadfw.net (/\##/\ Smail3.1.30.16 #30.47) with smtp for sender: id ; Thu, 1 Feb 2001 21:23:38 -0600 (CST) Message-ID: <017a01c08cc7$8727ffe0$edcf1f40@pdq.net> From: "Jason Smethers" To: "FreeBSD-audit" Subject: Convert taskqueue from splhigh() to mtx_*() Date: Thu, 1 Feb 2001 21:23:34 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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