diff options
author | julian <julian@FreeBSD.org> | 2002-10-14 20:31:54 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2002-10-14 20:31:54 +0000 |
commit | e53d0f994c6510cd95298e77954eea9fa4efa067 (patch) | |
tree | d33f275831dbe8941afb3dd81259559705e4ced3 | |
parent | dba5a34ca9ef0045507ba724534523dd5b582db3 (diff) | |
download | FreeBSD-src-e53d0f994c6510cd95298e77954eea9fa4efa067.zip FreeBSD-src-e53d0f994c6510cd95298e77954eea9fa4efa067.tar.gz |
Remove old useless debugging code
-rw-r--r-- | sys/vm/vm_glue.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c index 34a5e70..0f99512 100644 --- a/sys/vm/vm_glue.c +++ b/sys/vm/vm_glue.c @@ -844,11 +844,6 @@ swapout(p) p->p_vmspace->vm_swrss = vmspace_resident_count(p->p_vmspace); PROC_UNLOCK(p); - FOREACH_THREAD_IN_PROC (p, td) /* shouldn't be possible, but..... */ - if (TD_ON_RUNQ(td)) { /* XXXKSE */ - panic("swapping out runnable process"); - remrunqueue(td); /* XXXKSE */ - } p->p_sflag &= ~PS_INMEM; p->p_sflag |= PS_SWAPPING; mtx_unlock_spin(&sched_lock); |