Re: OpenSSI preview on Debian Lenny (on x86_64)
Roger Tsang <[email protected]> Sat, 24 Apr 2010 15:27:25 -0400
| Newsgroups | gmane.linux.cluster.ssic.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============0589202022406149844== Content-Type: multipart/alternative; boundary=00032555f77aa1e15804850088f1 --00032555f77aa1e15804850088f1 Content-Type: text/plain; charset=ISO-8859-1 On Sat, Apr 24, 2010 at 10:49 AM, John Hughes <[email protected]> wrote: > On 20/04/10 11:04, John Hughes wrote: > >> Quickly hacking in some stuff copied from the i386 version gets me to the >> point where my test program is segfaulting on the destination node. >> >> I cannot understand why migrate(2) works but /proc/xxx/goto doesn't. > > The process is clearly being migrated to the destination node, but it > segfaults (almost?) immediately on arrival. > > x86_64 entry.S does FIXUP_TOP_OF_STACK before calling sys_migrate but not in the signal path. This macro mangles rsp to point to the user segments. Maybe this explains why /proc/xxx/goto doesn't work properly. --00032555f77aa1e15804850088f1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div class=3D"gmail_quote">On Sat, Apr 24, 2010 at 10:49 AM, John Hughes <s= pan dir=3D"ltr"><<a href=3D"mailto:[email protected]">[email protected]</a>>= ;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"border-left: = 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;= "> <div class=3D"im">On 20/04/10 11:04, John Hughes wrote:<br> </div><div class=3D"im"><blockquote class=3D"gmail_quote" style=3D"border-l= eft: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left:= 1ex;"> Quickly hacking in some stuff copied from the i386 version gets me to the p= oint where my test program is segfaulting on the destination node.<br> <br> </blockquote></div> I cannot understand why migrate(2) works but /proc/xxx/goto doesn't.<br= > <br> The process is clearly being migrated to the destination node, but it segfa= ults (almost?) immediately on arrival.<br> <br> </blockquote></div><br>x86_64 entry.S does FIXUP_TOP_OF_STACK before callin= g sys_migrate but not in the signal path.=A0 This macro mangles rsp to poin= t to the user segments.=A0 Maybe this explains why /proc/xxx/goto doesn'= ;t work properly.<br> --00032555f77aa1e15804850088f1-- --===============0589202022406149844== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ --===============0589202022406149844== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ssic-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ssic-linux-devel --===============0589202022406149844==--