From owner-svn-src-all@FreeBSD.ORG Fri Feb 4 14:44:59 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E0571065670; Fri, 4 Feb 2011 14:44:59 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5C23D8FC16; Fri, 4 Feb 2011 14:44:59 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p14EixXI087712; Fri, 4 Feb 2011 14:44:59 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p14EixJP087709; Fri, 4 Feb 2011 14:44:59 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <201102041444.p14EixJP087709@svn.freebsd.org> From: John Baldwin Date: Fri, 4 Feb 2011 14:44:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218277 - in stable/7/sys: kern sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Feb 2011 14:44:59 -0000 Author: jhb Date: Fri Feb 4 14:44:59 2011 New Revision: 218277 URL: http://svn.freebsd.org/changeset/base/218277 Log: MFC 217075: Retire PCONFIG and leave the priority of thread0 alone when waiting for interrupt config hooks to execute. To preserve the KBI, I did not renumber priorities but simply removed PCONFIG. Modified: stable/7/sys/kern/subr_autoconf.c stable/7/sys/sys/priority.h Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/kern/subr_autoconf.c ============================================================================== --- stable/7/sys/kern/subr_autoconf.c Fri Feb 4 14:44:42 2011 (r218276) +++ stable/7/sys/kern/subr_autoconf.c Fri Feb 4 14:44:59 2011 (r218277) @@ -108,7 +108,7 @@ run_interrupt_driven_config_hooks(dummy) warned = 0; while (!TAILQ_EMPTY(&intr_config_hook_list)) { if (msleep(&intr_config_hook_list, &intr_config_hook_lock, - PCONFIG, "conifhk", WARNING_INTERVAL_SECS * hz) == + 0, "conifhk", WARNING_INTERVAL_SECS * hz) == EWOULDBLOCK) { mtx_unlock(&intr_config_hook_lock); warned++; Modified: stable/7/sys/sys/priority.h ============================================================================== --- stable/7/sys/sys/priority.h Fri Feb 4 14:44:42 2011 (r218276) +++ stable/7/sys/sys/priority.h Fri Feb 4 14:44:59 2011 (r218277) @@ -105,7 +105,6 @@ #define PZERO (PRI_MIN_KERN + 20) #define PSOCK (PRI_MIN_KERN + 24) #define PWAIT (PRI_MIN_KERN + 28) -#define PCONFIG (PRI_MIN_KERN + 32) #define PLOCK (PRI_MIN_KERN + 36) #define PPAUSE (PRI_MIN_KERN + 40)