Date: Thu, 6 Jan 2011 22:09:37 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r217075 - in head/sys: kern sys Message-ID: <201101062209.p06M9bCV029917@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Thu Jan 6 22:09:37 2011 New Revision: 217075 URL: http://svn.freebsd.org/changeset/base/217075 Log: Retire PCONFIG and leave the priority of thread0 alone when waiting for interrupt config hooks to execute. Modified: head/sys/kern/subr_autoconf.c head/sys/sys/priority.h Modified: head/sys/kern/subr_autoconf.c ============================================================================== --- head/sys/kern/subr_autoconf.c Thu Jan 6 21:14:34 2011 (r217074) +++ head/sys/kern/subr_autoconf.c Thu Jan 6 22:09:37 2011 (r217075) @@ -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: head/sys/sys/priority.h ============================================================================== --- head/sys/sys/priority.h Thu Jan 6 21:14:34 2011 (r217074) +++ head/sys/sys/priority.h Thu Jan 6 22:09:37 2011 (r217075) @@ -105,9 +105,8 @@ #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) +#define PLOCK (PRI_MIN_KERN + 32) +#define PPAUSE (PRI_MIN_KERN + 36) #define PRI_MIN_REALTIME (128) #define PRI_MAX_REALTIME (PRI_MIN_TIMESHARE - 1)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101062209.p06M9bCV029917>