osfmk/man/VSD_memory_manager.html
Function - Obsolete interface. Functionality now provided via host_set_default_memory_manager interface.
**kern\_return\_t vm\_set\_default\_memory\_manager**** (host\_priv\_t **host\_priv,** mach\_port\_move\_send\_t **default\_manager** );**
host_priv[in host-control send right] The control port naming the host for which the default memory manager is to be set.
default_manager[pointer to in/out default-pager send right] A memory manager port to the new default memory manager. If this value is MACH_PORT_NULL , the old memory manager is not changed. The old memory manager port is returned in this variable.
The vm_set_default_memory_manager function establishes the default memory manager for a host. The named manager will be the target for future memory_object_create calls.
The vm_set_default_memory_manager interface has been renamed to host_default_memory_manager. The old vm_set_default_memory_manager interface has been retained for backward compatibility, without the cluster_size parameter.
Only generic errors apply.
Functions: memory_object_create, vm_allocate.