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) _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"