HomeFreeBSD

Add vm_map_insert1(9)

Description

Add vm_map_insert1(9)

The function returns the newly created entry.
Use vm_map_insert1() in stack grow code to avoid gap entry re-lookup.

The comment update for vm_map_try_merge_entries() was suggested by dougm.

Suggested by: alc
Reviewed by: alc, markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D41099

Details

Provenance
kibAuthored on Jul 19 2023, 4:44 PM
Reviewer
alc
Differential Revision
D41099: More fixes for stacks
Parents
rG3b44ee50be81: vm_map_insert(): update herald comment
Branches
Unknown
Tags
Unknown