summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/vm/vm_page.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index 9c53f0e..e517561 100644
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -870,6 +870,8 @@ loop:
*/
if ((req & VM_ALLOC_NOOBJ) == 0)
vm_page_insert(m, object, pindex);
+ else
+ m->pindex = pindex;
/*
* Don't wakeup too often - wakeup the pageout daemon when
OpenPOWER on IntegriCloud