[OpenAFS-devel] Solaris fixes for 1.4.x / AFS_SUN510_ENV

Derrick Brashear shadow@gmail.com
Thu, 31 Jan 2008 02:31:55 -0500


------=_Part_16443_12213299.1201764715634
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

>
> That's not quite what happens: it's set on at least one thread that
> exits immediately.  With more thought I assume this is because it
> expects the created kernel thread to inherit this flag from the
> userspace process.
>

which thread?

>
> > There's another issue here, which is that AFS's kernel threads probably
> > should not be considered part of the contract under which afsd is
> started.
>
> I can't see any indication that the kernel threads are included in
> contracts at all, so that probably isn't an issue.  thread_create()
> definitely doesn't do it (if it did we'd be screwed creating the
> taskq too).
>

where are we calling thread_create at all?

------=_Part_16443_12213299.1201764715634
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>That&#39;s not quite what happens: it&#39;s set on at least one thread that<br>
exits immediately. &nbsp;With more thought I assume this is because it<br>expects the created kernel thread to inherit this flag from the<br>userspace process.<br></blockquote><div><br>which thread? <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>&gt; There&#39;s another issue here, which is that AFS&#39;s kernel threads probably<br>&gt; should not be considered part of the contract under which afsd is started.<br><br>I can&#39;t see any indication that the kernel threads are included in<br>
contracts at all, so that probably isn&#39;t an issue. &nbsp;thread_create()<br>definitely doesn&#39;t do it (if it did we&#39;d be screwed creating the<br>taskq too).<br></blockquote><div><br>where are we calling thread_create at all?<br>
&nbsp;</div></div><br>

------=_Part_16443_12213299.1201764715634--