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