From 3b44ee50be815a93d4e2b5d34d1cfc77268f6000 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Thu, 10 Aug 2023 10:59:25 +0300 Subject: [PATCH] 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 8ab38ae2a08..2829c015359 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. *