1*2c2f96dcSApple OSS Distributions<h2>vm_set_default_memory_manager</h2> 2*2c2f96dcSApple OSS Distributions<hr> 3*2c2f96dcSApple OSS Distributions<p> 4*2c2f96dcSApple OSS Distributions<strong>Function</strong> - Obsolete interface. Functionality now provided via host_set_default_memory_manager interface.<h3>SYNOPSIS</h3> 5*2c2f96dcSApple OSS Distributions<pre> 6*2c2f96dcSApple OSS Distributions<strong>kern_return_t vm_set_default_memory_manager</strong> 7*2c2f96dcSApple OSS Distributions <strong>(host_priv_t</strong> <var>host_priv</var>, 8*2c2f96dcSApple OSS Distributions <strong>mach_port_move_send_t</strong> <var>default_manager</var><strong>);</strong> 9*2c2f96dcSApple OSS Distributions</pre> 10*2c2f96dcSApple OSS Distributions<h3>PARAMETERS</h3> 11*2c2f96dcSApple OSS Distributions<dl> 12*2c2f96dcSApple OSS Distributions<p> 13*2c2f96dcSApple OSS Distributions<dt> <var>host_priv</var> 14*2c2f96dcSApple OSS Distributions<dd> 15*2c2f96dcSApple OSS Distributions[in host-control send right] 16*2c2f96dcSApple OSS DistributionsThe control port naming the host for which 17*2c2f96dcSApple OSS Distributionsthe default memory manager is to be set. 18*2c2f96dcSApple OSS Distributions<p> 19*2c2f96dcSApple OSS Distributions<dt> <var>default_manager</var> 20*2c2f96dcSApple OSS Distributions<dd> 21*2c2f96dcSApple OSS Distributions[pointer to in/out default-pager send right] 22*2c2f96dcSApple OSS DistributionsA memory manager port to 23*2c2f96dcSApple OSS Distributionsthe new default memory manager. If this value is <strong>MACH_PORT_NULL</strong>, 24*2c2f96dcSApple OSS Distributionsthe old memory manager is not changed. The old memory 25*2c2f96dcSApple OSS Distributionsmanager port is returned in this variable. 26*2c2f96dcSApple OSS Distributions</dl> 27*2c2f96dcSApple OSS Distributions<h3>DESCRIPTION</h3> 28*2c2f96dcSApple OSS Distributions<p> 29*2c2f96dcSApple OSS DistributionsThe <strong>vm_set_default_memory_manager</strong> function establishes the default 30*2c2f96dcSApple OSS Distributionsmemory manager for a host. The named manager will be the target for future 31*2c2f96dcSApple OSS Distributions<strong>memory_object_create</strong> calls. 32*2c2f96dcSApple OSS Distributions<h3>NOTES</h3> 33*2c2f96dcSApple OSS DistributionsThe <strong>vm_set_default_memory_manager</strong> interface has been 34*2c2f96dcSApple OSS Distributionsrenamed to <strong>host_default_memory_manager</strong>. The old 35*2c2f96dcSApple OSS Distributions<strong>vm_set_default_memory_manager</strong> interface has been retained 36*2c2f96dcSApple OSS Distributionsfor backward compatibility, without the <var>cluster_size</var> parameter. 37*2c2f96dcSApple OSS Distributions<h3>RETURN VALUES</h3> 38*2c2f96dcSApple OSS Distributions<p> 39*2c2f96dcSApple OSS DistributionsOnly generic errors apply. 40*2c2f96dcSApple OSS Distributions<h3>RELATED INFORMATION</h3> 41*2c2f96dcSApple OSS Distributions<p> 42*2c2f96dcSApple OSS DistributionsFunctions: 43*2c2f96dcSApple OSS Distributions<a href="memory_object_create.html"><strong>memory_object_create</strong></a>, 44*2c2f96dcSApple OSS Distributions<a href="vm_allocate.html"><strong>vm_allocate</strong></a>. 45