*newpp = p2;
/* this is a non-swapped system process */
p2->p_flag |= P_INMEM | P_SYSTEM;
p2->p_flag |= P_INMEM | P_SYSTEM | P_KTHREADP;
p2->p_procsig->ps_flag |= PS_NOCLDWAIT;
PHOLD(p2);