Update the comment after the r188334.

Reviewed by:	alc
This commit is contained in:
Konstantin Belousov 2009-02-24 20:23:16 +00:00
parent af83f5d77c
commit e608cc3c8d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189012

View file

@ -2527,10 +2527,10 @@ vm_map_delete(vm_map_t map, vm_offset_t start, vm_offset_t end,
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;