Print this page
patch remove-dont-swap-flag

*** 221,235 **** * Mark the time when thread is placed on wait queue. The microstate * accounting code uses this timestamp to determine wait times. */ t->t_waitrq = gethrtime_unscaled(); - /* - * Mark thread as not swappable. If necessary, it will get - * swapped out when it returns to the userland. - */ - t->t_schedflag |= TS_DONT_SWAP; DTRACE_SCHED1(cpucaps__sleep, kthread_t *, t); waitq_link(wq, t); THREAD_WAIT(t, &wq->wq_lock); return (1); --- 221,230 ----