summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_page.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/uvm/uvm_page.c')
-rw-r--r--sys/uvm/uvm_page.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_page.c b/sys/uvm/uvm_page.c
index d0415ed2ea6..44f535ae43f 100644
--- a/sys/uvm/uvm_page.c
+++ b/sys/uvm/uvm_page.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_page.c,v 1.92 2009/07/22 21:05:37 oga Exp $ */
+/* $OpenBSD: uvm_page.c,v 1.93 2009/07/23 21:39:10 kettenis Exp $ */
/* $NetBSD: uvm_page.c,v 1.44 2000/11/27 08:40:04 chs Exp $ */
/*
@@ -1199,7 +1199,7 @@ uvm_pagefree(struct vm_page *pg)
atomic_clearbits_int(&pg->pg_flags, PG_ZERO);
uvm_lock_fpageq();
- TAILQ_INSERT_TAIL(&uvm.page_free[
+ TAILQ_INSERT_HEAD(&uvm.page_free[
uvm_page_lookup_freelist(pg)].pgfl_queues[PGFL_UNKNOWN], pg, pageq);
atomic_clearbits_int(&pg->pg_flags, PQ_MASK);
atomic_setbits_int(&pg->pg_flags, PQ_FREE);