tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: _lwp_setprivate and _lwp_makecontext



On Fri, Jul 30, 2010 at 02:28:47AM +0000, YAMAMOTO Takashi wrote:
> when i looked at this, i abused _REG_ESP for i386.
> http://mail-index.netbsd.org/tech-kern/2009/09/27/msg006146.html
> i have no idea if other ports have unused members like this, tho.

Ah, uwe explained to me that _REG_ESP != _REG_UESP for i386.
For amd64, it seems like mcontext_t has a padding field of type long
that could be recycled. Do we have other architectures with this
problem, that can't allow this to work?

Joerg


Home | Main Index | Thread Index | Old Index