From owner-freebsd-hackers@FreeBSD.ORG Tue May 19 08:21:06 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFF08106568E for ; Tue, 19 May 2009 08:21:06 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.swipnet.se [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id 48A228FC1A for ; Tue, 19 May 2009 08:21:06 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=1eQnrbQGtHIA:10 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=bwsEZA-d16ctZT403zQA:9 a=HIDQYUdJ559a-CJGmxuIfnk9nTcA:4 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1071559095 for freebsd-hackers@freebsd.org; Tue, 19 May 2009 09:21:03 +0200 From: Hans Petter Selasky To: freebsd-hackers@freebsd.org Date: Tue, 19 May 2009 09:23:39 +0200 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905190923.39298.hselasky@c2i.net> Subject: Which priority do taskqueues have? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2009 08:21:07 -0000 Hi, I'm about to factor out some taskqueue-alike code from USB(II) and I need to know at which priority taskqueues are running. I know there is a priority argument which can be specified for TASK_INIT(), but tracing in the code shows that this is just a queue-priority. At which priority level is taskqueue code being [guaranteed to] run? --HPS