diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index ba713e9828a..5d0f4c3c879 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -527,13 +527,7 @@ retry: PCPU_SET(switchticks, ticks); cnt.v_swtch++; - - /* - * Allow the scheduler to adjust the priority of the - * parent when a kseg is exiting. - */ - if (p->p_pid != 1) - sched_exit(p->p_pptr, p); + sched_exit(p->p_pptr, p); /* * Make sure the scheduler takes this thread out of its tables etc.