KSD/TSD take 2 (was: KSE critical regions)
Daniel Eischen
eischen at vigrid.com
Thu Jul 24 18:26:08 PDT 2003
On Thu, 24 Jul 2003, Julian Elischer wrote:
>
> On Thu, 24 Jul 2003, Daniel Eischen wrote:
>
> >
> > struct kse_thr_mailbox {
> > void *tm_tls[4]; /* reserved for TLS */
> > uint32_t tm_flags;
> > uint32_t tm_version;
> > struct kse_thr_mailbox *tm_next;
> > void *tm_udata;
> > uint32_t tm_uticks;
> > uint32_t tm_sticks;
> > register_t tm_spare[4];
> > siginfo_t tm_syncsig;
> > ucontext_t tm_context;
> > };
>
> looking at the above diagrams, we see:
>
> struct kse_thr_mailbox need not have any TLS stuff. The offset to the
It is only there because you suggested we need a reserve
for TLS. It can easily be removed ;-)
--
Dan Eischen
More information about the freebsd-threads
mailing list