summaryrefslogtreecommitdiff
path: root/vm/vm_pageout.c
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-12-03 21:50:21 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:58 +0200
commit5507b361044db9036a96b42f991972c9d3ea0494 (patch)
treebe5ce87e8a2d6f7c1b1cb7f7ee47a5e8730c00c1 /vm/vm_pageout.c
parent96c01087a657dfc1c877b63e9e6b0f45c37b9c78 (diff)
2006-12-03 Thomas Schwinge <tschwinge@gnu.org>
[patch #5019 --- ``Remove checks for continuations''] * DEVELOPMENT: Document the removal. * i386/configfrag.ac (CONTINUATIONS): Don't define. 2006-12-03 Leonardo Lopes Pereira <leonardolopespereira@gmail.com> [patch #5019 --- ``Remove checks for continuations''] * ipc/mach_msg.c: Adopt all users of CONTINUATIONS as if it were always defined. * kern/eventcount.c: Likewise. * kern/ipc_sched.c: Likewise. * kern/syscall_subr.c: Likewise. * vm/vm_fault.c: Likewise. * vm/vm_pageout.c: Likewise. * vm/vm_resident.c: Likewise.
Diffstat (limited to 'vm/vm_pageout.c')
-rw-r--r--vm/vm_pageout.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/vm/vm_pageout.c b/vm/vm_pageout.c
index d058b46..6db1cb7 100644
--- a/vm/vm_pageout.c
+++ b/vm/vm_pageout.c
@@ -676,18 +676,8 @@ void vm_pageout_scan()
thread_will_wait_with_timeout(current_thread(), msecs);
counter(c_vm_pageout_scan_block++);
thread_block(vm_pageout_scan_continue);
-#ifndef CONTINUATIONS
- /*
- * Unfortunately, we don't have call_continuation
- * so we can't rely on tail-recursion.
- */
-
- vm_pageout_scan_continue();
- goto Restart;
-#else /* CONTINUATIONS */
call_continuation(vm_pageout_scan_continue);
/*NOTREACHED*/
-#endif /* CONTINUATIONS */
}
vm_pageout_inactive++;
@@ -886,10 +876,8 @@ void vm_pageout_scan_continue()
}
vm_page_unlock_queues();
-#ifdef CONTINUATIONS
vm_pageout_continue();
/*NOTREACHED*/
-#endif /* CONTINUATIONS */
}
/*