summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2002-10-14 20:31:54 +0000
committerjulian <julian@FreeBSD.org>2002-10-14 20:31:54 +0000
commite53d0f994c6510cd95298e77954eea9fa4efa067 (patch)
treed33f275831dbe8941afb3dd81259559705e4ced3 /sys
parentdba5a34ca9ef0045507ba724534523dd5b582db3 (diff)
downloadFreeBSD-src-e53d0f994c6510cd95298e77954eea9fa4efa067.zip
FreeBSD-src-e53d0f994c6510cd95298e77954eea9fa4efa067.tar.gz
Remove old useless debugging code
Diffstat (limited to 'sys')
-rw-r--r--sys/vm/vm_glue.c5
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);
OpenPOWER on IntegriCloud