diff options
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_glue.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c index cf37e46..36f709d 100644 --- a/sys/vm/vm_glue.c +++ b/sys/vm/vm_glue.c @@ -504,8 +504,11 @@ faultin(p) PROC_LOCK(p); mtx_lock_spin(&sched_lock); FOREACH_THREAD_IN_PROC (p, td) - if (td->td_state == TDS_RUNQ) /* XXXKSE */ + if (td->td_state == TDS_RUNQ) { /* XXXKSE */ + /* XXXKSE TDS_RUNQ causes assertion failure. */ + td->td_state = TDS_UNQUEUED; setrunqueue(td); + } p->p_sflag |= PS_INMEM; |