git: 3b44ee50be81 - main - vm_map_insert(): update herald comment

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Sat, 12 Aug 2023 06:29:04 UTC
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=3b44ee50be815a93d4e2b5d34d1cfc77268f6000

commit 3b44ee50be815a93d4e2b5d34d1cfc77268f6000
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-08-10 07:59:25 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-08-12 06:28:13 +0000

    vm_map_insert(): update herald comment
    
    Only a part of the object may be mapped.
    
    Noted by:       alc
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D41099
---
 sys/vm/vm_map.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index 8ab38ae2a087..2829c015359a 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -1603,9 +1603,8 @@ vm_map_lookup_entry(
 /*
  *	vm_map_insert:
  *
- *	Inserts the given whole VM object into the target
- *	map at the specified address range.  The object's
- *	size should match that of the address range.
+ *	Inserts the given VM object into the target map at the
+ *	specified address range.
  *
  *	Requires that the map be locked, and leaves it so.
  *