Re: OpenSSI preview on Debian Lenny (on x86_64)

Roger Tsang <[email protected]> Sat, 17 Apr 2010 16:29:26 -0400
Newsgroups gmane.linux.cluster.ssic.devel
Message-ID <[email protected]>
--===============8072939166453103311==
Content-Type: multipart/alternative; boundary=0003255597c67fcd900484749574

--0003255597c67fcd900484749574
Content-Type: text/plain; charset=ISO-8859-1

Further it appears as_do_pg() is just a dupe of Linux install_arg_page().
To avoid this duplication it is better to modify as_do_pg() to call
something like ssi_install_arg_page() which is install_arg_page() without
force_sig() in error path.

On Sat, Apr 17, 2010 at 2:36 PM, John Hughes <[email protected]> wrote:

> John Hughes wrote:
>
>  John Hughes wrote:
>>
>>>
>>>       pud = pud_offset(pgd, apip->api_addr);
>>>
>> It seems than when we get here "pgd_none (pgd)" is true, so maybe we
>> should be doing a pud_alloc instead of just "pud = pud_offset(...)".
>>
>> But it doesn't seem to work, that just makes us hang.
>>
> Because I screwed up.
>
> Yes, we should be doing pud_alloc, not just pud_offset.
>
> This patch makes migration work.
>
> Well, almost.  The migrated process seems not to be able to access its
> terminal.
>
>
>
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> ssic-linux-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ssic-linux-devel
>
>

--0003255597c67fcd900484749574
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Further it appears as_do_pg() is just a dupe of Linux install_arg_page().=
=A0
To avoid this duplication it is better to modify as_do_pg() to call somethi=
ng like ssi_install_arg_page() which is install_arg_page() without force_si=
g() in error path.<br><br><div class=3D"gmail_quote">On Sat, Apr 17, 2010 a=
t 2:36 PM, John Hughes <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]=
om">[email protected]</a>&gt;</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;">John Hughes wrote=
:<div class=3D"im"><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;">
John Hughes 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;">
<br>
 =A0 =A0 =A0 pud =3D pud_offset(pgd, apip-&gt;api_addr);<br>
</blockquote>
It seems than when we get here &quot;pgd_none (pgd)&quot; is true, so maybe=
 we should be doing a pud_alloc instead of just &quot;pud =3D pud_offset(..=
.)&quot;.<br>
<br>
But it doesn&#39;t seem to work, that just makes us hang.<br>
</blockquote></div>
Because I screwed up.<br>
<br>
Yes, we should be doing pud_alloc, not just pud_offset.<br>
<br>
This patch makes migration work.<br>
<br>
Well, almost. =A0The migrated process seems not to be able to access its te=
rminal.<br>
<br>
<br>
<br>
<br>-----------------------------------------------------------------------=
-------<br>
Download Intel&amp;#174; Parallel Studio Eval<br>
Try the new software tools for yourself. Speed compiling, find bugs<br>
proactively, and fine-tune applications for parallel performance.<br>
See why Intel Parallel Studio got high marks during beta.<br>
<a href=3D"http://p.sf.net/sfu/intel-sw-dev" target=3D"_blank">http://p.sf.=
net/sfu/intel-sw-dev</a><br>_______________________________________________=
<br>
ssic-linux-devel mailing list<br>
<a href=3D"mailto:[email protected]">ssic-linux-devel@=
lists.sourceforge.net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/ssic-linux-devel" t=
arget=3D"_blank">https://lists.sourceforge.net/lists/listinfo/ssic-linux-de=
vel</a><br>
<br></blockquote></div><br>

--0003255597c67fcd900484749574--


--===============8072939166453103311==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--===============8072939166453103311==
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

--===============8072939166453103311==--