From owner-svn-src-stable-8@FreeBSD.ORG Fri Feb 4 14:44:42 2011 Return-Path: Delivered-To: svn-src-stable-8@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D69A21065672; Fri, 4 Feb 2011 14:44:42 +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 C499A8FC18; Fri, 4 Feb 2011 14:44:42 +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 p14EigJ7087670; Fri, 4 Feb 2011 14:44:42 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p14Eigda087667; Fri, 4 Feb 2011 14:44:42 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <201102041444.p14Eigda087667@svn.freebsd.org> From: John Baldwin Date: Fri, 4 Feb 2011 14:44:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218276 - in stable/8/sys: kern sys X-BeenThere: svn-src-stable-8@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 8-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Feb 2011 14:44:42 -0000 Author: jhb Date: Fri Feb 4 14:44:42 2011 New Revision: 218276 URL: http://svn.freebsd.org/changeset/base/218276 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/8/sys/kern/subr_autoconf.c stable/8/sys/sys/priority.h Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/kern/subr_autoconf.c ============================================================================== --- stable/8/sys/kern/subr_autoconf.c Fri Feb 4 14:29:05 2011 (r218275) +++ stable/8/sys/kern/subr_autoconf.c Fri Feb 4 14:44:42 2011 (r218276) @@ -135,7 +135,7 @@ boot_run_interrupt_driven_config_hooks(v 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/8/sys/sys/priority.h ============================================================================== --- stable/8/sys/sys/priority.h Fri Feb 4 14:29:05 2011 (r218275) +++ stable/8/sys/sys/priority.h Fri Feb 4 14:44:42 2011 (r218276) @@ -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)