diff options
-rw-r--r-- | sys/vm/vm_page.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index 9c868fc..1b2db6e 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -161,7 +161,7 @@ vm_add_new_page(pa) m->flags = 0; m->pc = (pa >> PAGE_SHIFT) & PQ_L2_MASK; m->queue = m->pc + PQ_FREE; - TAILQ_INSERT_HEAD(&vm_page_queues[m->queue].pl, m, pageq); + TAILQ_INSERT_TAIL(&vm_page_queues[m->queue].pl, m, pageq); vm_page_queues[m->queue].lcnt++; return (m); } |