[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's not quite what happens: it's set on at least one thread that<br>
exits immediately. 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>> There's another issue here, which is that AFS's kernel threads probably<br>> should not be considered part of the contract under which afsd is started.<br><br>I can't see any indication that the kernel threads are included in<br>
contracts at all, so that probably isn't an issue. thread_create()<br>definitely doesn't do it (if it did we'd be screwed creating the<br>taskq too).<br></blockquote><div><br>where are we calling thread_create at all?<br>
</div></div><br>
------=_Part_16443_12213299.1201764715634--