Retire PCONFIG and leave the priority of thread0 alone when waiting for
interrupt config hooks to execute.
This commit is contained in:
parent
b80745da98
commit
a01b193101
@ -135,7 +135,7 @@ boot_run_interrupt_driven_config_hooks(void *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++;
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user