Author: jhb
Date: Tue Sep  1 15:50:07 2009
New Revision: 196735
URL: http://svn.freebsd.org/changeset/base/196735

Log:
  MFC 196637:
  Mark the fake pages constructed by the OBJT_SG pager valid.  This was
  accidentally lost at one point during the PAT development.  Without this
  fix vm_pager_get_pages() was zeroing each of the pages.
  
  Approved by:  re (kib)

Modified:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)
  stable/8/sys/vm/sg_pager.c

Modified: stable/8/sys/vm/sg_pager.c
==============================================================================
--- stable/8/sys/vm/sg_pager.c  Tue Sep  1 12:17:47 2009        (r196734)
+++ stable/8/sys/vm/sg_pager.c  Tue Sep  1 15:50:07 2009        (r196735)
@@ -204,6 +204,7 @@ sg_pager_getpages(vm_object_t object, vm
        vm_page_unlock_queues();
        vm_page_insert(page, object, offset);
        m[reqpage] = page;
+       page->valid = VM_PAGE_BITS_ALL;
 
        return (VM_PAGER_OK);
 }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to