Rearranging kse mailbox

Marcel Moolenaar marcel at xcllnt.net
Fri Jul 18 13:26:27 PDT 2003


On Fri, Jul 18, 2003 at 03:46:56PM -0400, Daniel Eischen wrote:
> I took a cut at it.
> 
> Comments, suggestions?

Looks good in general. As a suggestion: On ia64 the context is
128-bit aligned due to having FP registers. I would suggest to
order the structs so that both the context and sigset_t are
16-byte aligned on 64-bit platforms.
Alignment of sigset_t to 16 bytes allows machines that have
16-byte atomic operations to read/write the sigset_t atomically.

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel at xcllnt.net


More information about the freebsd-threads mailing list