From e608cc3c8dc7f678a4ba6bef006c6b9b56ef2559 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Tue, 24 Feb 2009 20:23:16 +0000 Subject: [PATCH] Update the comment after the r188334. Reviewed by: alc --- sys/vm/vm_map.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c index dc45ff4a8e5a..ea90a70e55e9 100644 --- a/sys/vm/vm_map.c +++ b/sys/vm/vm_map.c @@ -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;