Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 2003 13:26:25 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        deischen@freebsd.org
Cc:        threads@freebsd.org
Subject:   Re: Rearranging kse mailbox
Message-ID:  <20030718202625.GA34991@dhcp01.pn.xcllnt.net>
In-Reply-To: <Pine.GSO.4.10.10307181538360.18280-100000@pcnet5.pcnet.com>
References:  <Pine.GSO.4.10.10307181538360.18280-100000@pcnet5.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@xcllnt.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030718202625.GA34991>