svn commit: r233190 - head/sys/vm

John Baldwin jhb at FreeBSD.org
Mon Mar 19 18:43:45 UTC 2012


Author: jhb
Date: Mon Mar 19 18:43:44 2012
New Revision: 233190
URL: http://svn.freebsd.org/changeset/base/233190

Log:
  Alter the previous commit to use vm_size_t instead of vm_pindex_t.
  vm_pindex_t is not a count of pages per se, it is more like vm_ooffset_t,
  but a page index instead of a byte offset.

Modified:
  head/sys/vm/vm_phys.c

Modified: head/sys/vm/vm_phys.c
==============================================================================
--- head/sys/vm/vm_phys.c	Mon Mar 19 18:41:43 2012	(r233189)
+++ head/sys/vm/vm_phys.c	Mon Mar 19 18:43:44 2012	(r233190)
@@ -223,7 +223,7 @@ _vm_phys_create_seg(vm_paddr_t start, vm
 {
 	struct vm_phys_seg *seg;
 #ifdef VM_PHYSSEG_SPARSE
-	vm_pindex_t pages;
+	vm_size_t pages;
 	int segind;
 
 	pages = 0;


More information about the svn-src-all mailing list