Date: Wed, 22 Sep 2004 17:42:08 +0400 From: Andrew Belashov <bel@orel.ru> To: Daniel Eischen <deischen@freebsd.org> Cc: freebsd-threads@freebsd.org Subject: Re: Bug in kse_switchin()? Message-ID: <41518130.3000704@orel.ru> In-Reply-To: <Pine.GSO.4.43.0409220743460.857-100000@sea.ntplx.net> References: <Pine.GSO.4.43.0409220743460.857-100000@sea.ntplx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Daniel Eischen wrote: > On Wed, 22 Sep 2004, Andrew Belashov wrote: > > >>Daniel Eischen wrote: [...] >> > >> > Is lwpid_t 64-bit on sparc64 or is it somehow not being aligned >> > properly within the mailbox? >> >>lwpid_t on sparc64 is 32-bit (typedef __int32_t __lwpid_t). >> >>What about using copyout? > > > Does it have to be 64-bit aligned in order to use suword32()? No, it should be 32-bit aligned. > I believe you can use copyout, but perhaps the mailbox should > be laid out so that fields are better aligned (doing this > would break ABI). The problem is deeper, than I thought. And it hard to debug without modifying kernel... -- With best regards, Andrew Belashov.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41518130.3000704>