1 <h2>vm_set_default_memory_manager
</h2>
4 <strong>Function
</strong> - Obsolete interface. Functionality now provided via host_set_default_memory_manager interface.
<h3>SYNOPSIS
</h3>
6 <strong>kern_return_t vm_set_default_memory_manager
</strong>
7 <strong>(host_priv_t
</strong> <var>host_priv
</var>,
8 <strong>mach_port_move_send_t
</strong> <var>default_manager
</var><strong>);
</strong>
13 <dt> <var>host_priv
</var>
15 [in host-control send right]
16 The control port naming the host for which
17 the default memory manager is to be set.
19 <dt> <var>default_manager
</var>
21 [pointer to in/out default-pager send right]
22 A memory manager port to
23 the new default memory manager. If this value is
<strong>MACH_PORT_NULL
</strong>,
24 the old memory manager is not changed. The old memory
25 manager port is returned in this variable.
29 The
<strong>vm_set_default_memory_manager
</strong> function establishes the default
30 memory manager for a host. The named manager will be the target for future
31 <strong>memory_object_create
</strong> calls.
33 The
<strong>vm_set_default_memory_manager
</strong> interface has been
34 renamed to
<strong>host_default_memory_manager
</strong>. The old
35 <strong>vm_set_default_memory_manager
</strong> interface has been retained
36 for backward compatibility, without the
<var>cluster_size
</var> parameter.
37 <h3>RETURN VALUES
</h3>
39 Only generic errors apply.
40 <h3>RELATED INFORMATION
</h3>
43 <a href=
"memory_object_create.html"><strong>memory_object_create
</strong></a>,
44 <a href=
"vm_allocate.html"><strong>vm_allocate
</strong></a>.