diff options
author | Richard Braun <rbraun@sceen.net> | 2016-12-21 23:31:53 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2016-12-21 23:33:28 +0100 |
commit | 11453089a1402932269b36f0b9f5831bcf888045 (patch) | |
tree | 3c7d8a433f986c1c6f06f6e36f0711435d49228a /vm/vm_pageout.c | |
parent | ec8e51c735d3963c24ec8739de400f20597a37ca (diff) | |
download | gnumach-11453089a1402932269b36f0b9f5831bcf888045.tar.gz gnumach-11453089a1402932269b36f0b9f5831bcf888045.tar.bz2 gnumach-11453089a1402932269b36f0b9f5831bcf888045.zip |
VM: fix pageout timeout
The interval parameter to the thread_set_timeout function is actually
in ticks.
* vm/vm_pageout.c (vm_pageout): Fix call to thread_set_timeout.
Diffstat (limited to 'vm/vm_pageout.c')
-rw-r--r-- | vm/vm_pageout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vm_pageout.c b/vm/vm_pageout.c index 7dc9c12f..da0f8077 100644 --- a/vm/vm_pageout.c +++ b/vm/vm_pageout.c @@ -470,7 +470,7 @@ void vm_pageout(void) FALSE); } else if (should_wait) { assert_wait(&vm_pageout_continue, FALSE); - thread_set_timeout(VM_PAGEOUT_TIMEOUT); + thread_set_timeout(VM_PAGEOUT_TIMEOUT * hz / 1000); simple_unlock(&vm_page_queue_free_lock); thread_block(NULL); |