thread_suspend_switch
thread_suspend_switch(td, p);
void thread_suspend_switch(struct thread *, struct proc *p);