svn commit: r189012 - head/sys/vm

Konstantin Belousov kib at FreeBSD.org
Tue Feb 24 12:23:17 PST 2009


Author: kib
Date: Tue Feb 24 20:23:16 2009
New Revision: 189012
URL: http://svn.freebsd.org/changeset/base/189012

Log:
  Update the comment after the r188334.
  
  Reviewed by:	alc

Modified:
  head/sys/vm/vm_map.c

Modified: head/sys/vm/vm_map.c
==============================================================================
--- head/sys/vm/vm_map.c	Tue Feb 24 20:16:52 2009	(r189011)
+++ head/sys/vm/vm_map.c	Tue Feb 24 20:23:16 2009	(r189012)
@@ -2527,10 +2527,10 @@ vm_map_delete(vm_map_t map, vm_offset_t 
 		pmap_remove(map->pmap, entry->start, entry->end);
 
 		/*
-		 * Delete the entry (which may delete the object) only after
-		 * removing all pmap entries pointing to its pages.
-		 * (Otherwise, its page frames may be reallocated, and any
-		 * modify bits will be set in the wrong object!)
+		 * Delete the entry only after removing all pmap
+		 * entries pointing to its pages.  (Otherwise, its
+		 * page frames may be reallocated, and any modify bits
+		 * will be set in the wrong object!)
 		 */
 		vm_map_entry_delete(map, entry);
 		entry->next = *freelist;


More information about the svn-src-all mailing list