<div dir="ltr">
<div>Greetings,</div><br><div>I&#39;m a Master&#39;s Student and my thesis is about Optimizing Service Migration on the Edge with <span class="gmail-il">CRIU</span> so i&#39;m trying to understand how it works.</div><div><br></div><div> <b>my questions are about the restore feature <br></b></div><div><span class="gmail-il"></span><font size="2">1) on the <span class="gmail-il">CRIU</span>(master)/<span class="gmail-il">criu</span>/cr-restore.c file , in function <b>cr_restore_tasks()</b> line <span style="font-family:arial,sans-serif">2575 function <span style="background-color:rgb(255,255,255)"><span style="color:rgb(0,0,0)"><b>restore_root_task(..)</b> is called.<br></span></span></span></font><div style="font-family:Consolas,&quot;Courier New&quot;,monospace;font-weight:normal;line-height:19px;white-space:pre"><div><font size="2"><span style="font-family:arial,sans-serif"><span style="background-color:rgb(255,255,255)"><span style="color:rgb(0,0,0)">on the same file in function definition <b>restore_root_task(..)</b>, on  line 2202 </span></span><span style="color:rgb(0,0,0)"><span style="background-color:rgb(255,255,255)"><b>run_scripts(ACT_PRE_RESTORE)</b> is called but i can&#39;t find the pre-restore action script in the script directory where the post-restore and other action scripts are.<br></span></span></span></font></div><div><font size="2"><span style="font-family:arial,sans-serif"><span style="color:rgb(0,0,0)"><span style="background-color:rgb(255,255,255)">Can you tell me what the pre-restore action script does and where it is located?<br></span></span></span></font></div><div><font size="2"><span style="font-family:arial,sans-serif"><span style="color:rgb(0,0,0)"><span style="background-color:rgb(255,255,255)"><br></span></span></span></font></div><div><font size="2"><span style="font-family:arial,sans-serif"><span style="color:rgb(0,0,0)"><span style="background-color:rgb(255,255,255)">2) At what point is the <b>premap</b> in the <a href="https://criu.org/File:Criu-memory-wflow.png">Criu-memory-workflow figure</a>  happening during restore? please point it out on the source code.</span></span></span></font></div><div><img src="cid:ii_km7044mq0" alt="image.png" width="451" height="345"><br><br><font size="2"><span style="font-family:arial,sans-serif"><span style="color:rgb(0,0,0)"><span style="background-color:rgb(255,255,255)"></span></span><span style="background-color:rgb(255,255,255)"><span style="color:rgb(0,0,0)"></span></span></span></font><font size="2"><span style="color:rgb(255,255,255)"></span></font></div></div></div><div><span style="color:rgb(255,255,255)">ank you.</span><br>Best,<br></div><div><br></div><div><br></div><div><br></div><div><div dir="ltr"><div dir="ltr"><div>Dallel Khezzane <br></div><div>5<font size="1">th <font size="2">Year Student at <a href="https://www.esi.dz/" target="_blank">ESI</a> Major : Computer Systems</font></font></div></div></div></div>

<div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><a href="https://github.com/DallelKh" target="_blank">https://github.com/DallelKh</a></div><a href="https://www.linkedin.com/in/dallel-khezzane-044007131/" target="_blank">https://www.linkedin.com/in/dallel-khezzane-044007131/</a><br></div></div></div></div>