## vm_set_default_memory_manager

Function - Obsolete interface. Functionality now provided via host_set_default_memory_manager interface.

### SYNOPSIS

    kern_return_t   vm_set_default_memory_manager
                    (host_priv_t                          host_priv,
                     mach_port_move_send_t          default_manager);

### PARAMETERS

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.

### DESCRIPTION

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.

### NOTES

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.

### RETURN VALUES

Only generic errors apply.

### RELATED INFORMATION

Functions: memory_object_create, vm_allocate.