svn commit: r196735 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci vm

John Baldwin jhb at FreeBSD.org
Tue Sep 1 15:50:07 UTC 2009


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);
 }


More information about the svn-src-stable-8 mailing list