summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2014-08-30 12:51:11 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2014-08-30 12:51:11 +0200
commitc7cdf5ff96e7c3bb008877893aa194908dca2185 (patch)
tree394f3f7046ec7775e03e8b388ed65798f3acc321 /vm
parented32cdc81be98287e4678bdb4a71a578b548580d (diff)
Increate the pageout thread priority
* vm/vm_pageout.c (vm_pageout): Set the priority to 0.
Diffstat (limited to 'vm')
-rw-r--r--vm/vm_pageout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm/vm_pageout.c b/vm/vm_pageout.c
index 7ac43d6..d57da78 100644
--- a/vm/vm_pageout.c
+++ b/vm/vm_pageout.c
@@ -912,6 +912,7 @@ void vm_pageout(void)
current_thread()->vm_privilege = TRUE;
stack_privilege(current_thread());
+ thread_set_own_priority(0);
/*
* Initialize some paging parameters.