Print this page
11909 THREAD_KPRI_RELEASE does nothing of the sort
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>

*** 701,711 **** return (NULL); ASSERT(p == pcp->prc_proc); mutex_enter(&p->p_lock); } p->p_proc_flag |= P_PR_LOCK; - THREAD_KPRI_REQUEST(); return (p); } /* * Lock the target process by setting P_PR_LOCK and grabbing p->p_lock. --- 701,710 ----
*** 808,818 **** ASSERT(p->p_proc_flag & P_PR_LOCK); ASSERT(MUTEX_HELD(&p->p_lock)); cv_signal(&pr_pid_cv[p->p_slot]); p->p_proc_flag &= ~P_PR_LOCK; - THREAD_KPRI_RELEASE(); } void prunlock(prnode_t *pnp) { --- 807,816 ----