svn commit: r241044 - head/sys/arm/arm

Alan Cox alc at FreeBSD.org
Sat Sep 29 08:11:13 UTC 2012


Author: alc
Date: Sat Sep 29 08:11:12 2012
New Revision: 241044
URL: http://svn.freebsd.org/changeset/base/241044

Log:
  Update a comment to reflect recent locking changes.

Modified:
  head/sys/arm/arm/pmap.c

Modified: head/sys/arm/arm/pmap.c
==============================================================================
--- head/sys/arm/arm/pmap.c	Sat Sep 29 05:52:19 2012	(r241043)
+++ head/sys/arm/arm/pmap.c	Sat Sep 29 08:11:12 2012	(r241044)
@@ -4562,13 +4562,13 @@ retry:
                 managed = true;
 	if (managed) {
 		/*
-		 * the ARM pmap tries to maintain a per-mapping
+		 * The ARM pmap tries to maintain a per-mapping
 		 * reference bit.  The trouble is that it's kept in
 		 * the PV entry, not the PTE, so it's costly to access
-		 * here.  You would need to acquire the page queues
+		 * here.  You would need to acquire the pvh global
 		 * lock, call pmap_find_pv(), and introduce a custom
 		 * version of vm_page_pa_tryrelock() that releases and
-		 * reacquires the page queues lock.  In the end, I
+		 * reacquires the pvh global lock.  In the end, I
 		 * doubt it's worthwhile.  This may falsely report
 		 * the given address as referenced.
 		 */


More information about the svn-src-all mailing list