Yeap,<br><br>A syscall such as pagerof would be great in some situations,<br><br>Thanks,<br><span class="sg"><br>JOrge</span><br><br><div><span class="gmail_quote">On 7/9/07, <b class="gmail_sendername">Harry Vennik</b> &lt;
<a href="mailto:htvennik@zonnet.nl">htvennik@zonnet.nl</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I have run into the same thing recently. Not often a thread needs to
<br>know its own space-id, but when implementing some memory management<br>server it would be very nice to be able to map the thread-id where<br>the IPC request is coming from to a space-id to apply the memory<br>mapping to. I think the microkernel simply has to keep track of the
<br>thread to space relations, so why require a memory manager server to<br>do the same thing? I think it would be better to keep that info in<br>the micro kernel only, and provide a way for the memory manager to<br>request that information through a (privileged) syscall.
<br><br>Regards,<br><br>Harry<br><br>Op 9-jul-2007, om 9:04 heeft Carl van Schaik het volgende geschreven:<br><br>&gt; Are you asking about finding a thread&#39;s space-id? Currently it is not<br>&gt; possible, the OS environment should tell the thread, eg on its
<br>&gt; stack. In<br>&gt; general, threads don&#39;t need to know their space-id and can&#39;t call make<br>&gt; any L4 calls that require it.<br>&gt;<br>&gt; regards,<br>&gt; Carl<br>&gt;<br>&gt; Jorge Torres wrote:<br>
&gt;&gt; HI,<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; Does somebody know how can one find a thread spaceid?<br>&gt;&gt;<br>&gt;&gt; Thanks,<br>&gt;&gt;<br>&gt;&gt; Jorge<br>&gt;&gt; ---------------------------------------------------------------------
<br>&gt;&gt; ---<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; Developer mailing list<br>&gt;&gt; <a href="mailto:Developer@okl4.org">Developer@okl4.org</a><br>&gt;&gt; <a href="https://lists.okl4.org/mailman/listinfo/developer">
https://lists.okl4.org/mailman/listinfo/developer</a><br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; Developer mailing list<br>&gt; <a href="mailto:Developer@okl4.org">Developer@okl4.org
</a><br>&gt; <a href="https://lists.okl4.org/mailman/listinfo/developer">https://lists.okl4.org/mailman/listinfo/developer</a><br><br></blockquote></div><br>