No functional change since aobjs should never hit this path. However, I
introduced this diff when I reworked the page releasing stuff for
objects.

ok?

diff --git uvm/uvm_page.c uvm/uvm_page.c
index 10ef7d1..27e970a 100644
--- uvm/uvm_page.c
+++ uvm/uvm_page.c
@@ -1099,7 +1099,7 @@ uvm_page_unbusy(struct vm_page **pgs, int npgs)
                                uvm_lock_pageq();
                                pmap_page_protect(pg, VM_PROT_NONE);
                                /* XXX won't happen right now */
-                               if (pg->pg_flags & PQ_ANON)
+                               if (pg->pg_flags & PQ_AOBJ)
                                        uao_dropswap(uobj,
                                            pg->offset >> PAGE_SHIFT);
                                uvm_pagefree(pg);
-- 
1.7.5


-- 
Blood flows down one leg and up the other.

Reply via email to