From 12f2610cb5fd215c51d36de2cbe51871b7b98f5d Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 19 Dec 2001 01:31:12 +0000 Subject: Use a different mechanism to get the vnlru process to wake up and notice the shutdown request at reboot/halt time. Disable the printf 'vnlru process getting nowhere, pausing...' and instead export the count to the debug.vnlru_nowhere sysctl. --- sys/kern/kern_kthread.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/kern/kern_kthread.c') diff --git a/sys/kern/kern_kthread.c b/sys/kern/kern_kthread.c index b5ed8d4..09fcbad 100644 --- a/sys/kern/kern_kthread.c +++ b/sys/kern/kern_kthread.c @@ -149,6 +149,7 @@ kthread_suspend(struct proc *p, int timo) return (EINVAL); } SIGADDSET(p->p_siglist, SIGSTOP); + wakeup(p); return msleep(&p->p_siglist, &p->p_mtx, PPAUSE | PDROP, "suspkt", timo); } -- cgit v1.1