Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Apr 2012 11:04:08 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r234033 - user/attilio/vmcontention/sys/vm
Message-ID:  <201204081104.q38B484s009019@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: attilio
Date: Sun Apr  8 11:04:08 2012
New Revision: 234033
URL: http://svn.freebsd.org/changeset/base/234033

Log:
  Fix a typo.
  
  Reported by:	pho

Modified:
  user/attilio/vmcontention/sys/vm/device_pager.c

Modified: user/attilio/vmcontention/sys/vm/device_pager.c
==============================================================================
--- user/attilio/vmcontention/sys/vm/device_pager.c	Sun Apr  8 11:01:49 2012	(r234032)
+++ user/attilio/vmcontention/sys/vm/device_pager.c	Sun Apr  8 11:04:08 2012	(r234033)
@@ -313,7 +313,7 @@ old_dev_pager_fault(vm_object_t object, 
 		vm_page_free(*mres);
 		vm_page_unlock(*mres);
 		*mres = page;
-		while (vm_page_insert(page, object, offset) != 0) {
+		while (vm_page_insert(page, object, pidx) != 0) {
 			for (i = 0; i < 10000000; i++)
 				cpu_spinwait();
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204081104.q38B484s009019>