From owner-freebsd-current@FreeBSD.ORG Mon Jun 21 00:13:04 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C4A716A4CE for ; Mon, 21 Jun 2004 00:13:04 +0000 (GMT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 814E943D45 for ; Mon, 21 Jun 2004 00:13:04 +0000 (GMT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (rwcrmhc13) with ESMTP id <2004062100122201500su792e>; Mon, 21 Jun 2004 00:12:23 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id RAA26692 for ; Sun, 20 Jun 2004 17:12:22 -0700 (PDT) Date: Sun, 20 Jun 2004 17:12:20 -0700 (PDT) From: Julian Elischer To: FreeBSD current users Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: ithread priority question... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2004 00:13:04 -0000 In swi_add, the priority is multiplied by PPQ. This is a layering violation really because PPQ should only be known within the scheduler.... but..... "Why multiply by PPQ inthe first place?" we are not using the system run queues for interrupt threads. (PPQ = Priorities Per Queue). Without this you can remove runq.h from proc.h and include it only in the scheduler related files.