summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.