From 87e8ddc7adac201aebe932b2d6f45b36c79849dd Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Wed, 5 Jul 2023 17:16:38 +0300 Subject: vm: Add vm_map_coalesce_entry This function attempts to coalesce a VM map entry with its preceeding entry. It wraps vm_object_coalesce. Message-ID: <20230705141639.85792-3-bugaevc@gmail.com> --- vm/vm_map.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vm/vm_map.h') diff --git a/vm/vm_map.h b/vm/vm_map.h index 3d1c9428..a4949e4e 100644 --- a/vm/vm_map.h +++ b/vm/vm_map.h @@ -442,6 +442,8 @@ extern vm_map_copy_t vm_map_copy_copy(vm_map_copy_t); extern kern_return_t vm_map_copy_discard_cont(vm_map_copyin_args_t, vm_map_copy_t *); +extern boolean_t vm_map_coalesce_entry(vm_map_t, vm_map_entry_t); + /* Add or remove machine- dependent attributes from map regions */ extern kern_return_t vm_map_machine_attribute(vm_map_t, vm_offset_t, vm_size_t, -- cgit v1.2.3