<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Light-weight process - Page 5 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=light-weight_process&amp;p=4">1.Previous</a><br />
<a accesskey="3" href="page.php?w=light-weight_process&amp;p=6">3.Next</a>
</p>
<p>its user-level registers until it resumes, and the underlying kernel thread must also store its own kernel-level registers.</p>

<p><big>Performance</big></p>
<p>LWPs are slower and more expensive to create than user threads. Whenever an LWP is created, a <a href="page.php?w=system_call">system call</a> must first be made to create a corresponding kernel thread, causing a switch to kernel mode. These mode switches would typically involve copying parameters between kernel and user space, also the kernel may need to have extra steps to verify the parameters</p><p>
<a accesskey="1" href="page.php?w=light-weight_process&amp;p=4">1.Previous</a><br />
<a accesskey="3" href="page.php?w=light-weight_process&amp;p=6">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
