<div dir="ltr"><br><div class="gmail_chip gmail_drive_chip" style="width:396px;height:18px;max-height:18px;background-color:#f5f5f5;padding:5px;color:#222;font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid #ddd;line-height:1"><a href="https://drive.google.com/file/d/0BzQeXKE20dc-RXRZTlJ5Y3FoSEU/view?usp=drive_web" target="_blank" style="display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0px;border:none;width:100%"><img style="vertical-align: bottom; border: none;" src="https://ssl.gstatic.com/docs/doclist/images/generic_app_icon_16.png"> <span dir="ltr" style="color:#15c;text-decoration:none;vertical-align:bottom">rtspin.c</span></a></div><br><div class="gmail_chip gmail_drive_chip" style="width:396px;height:18px;max-height:18px;background-color:#f5f5f5;padding:5px;color:#222;font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid #ddd;line-height:1"><a href="https://drive.google.com/file/d/0BzQeXKE20dc-dndYNTlhaFlIaXc/view?usp=drive_web" target="_blank" style="display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0px;border:none;width:100%"><img style="vertical-align: bottom; border: none;" src="https://ssl.gstatic.com/docs/doclist/images/generic_app_icon_16.png"> <span dir="ltr" style="color:#15c;text-decoration:none;vertical-align:bottom">chunktest.sh</span></a></div><br><div>I have rewritten to make sure that I can simulate more than one critical section within one task. Also there is one bash file to show how I allocate the tasks. When I change the protocol to DFLP, the task doesn't migrate to different cpu when it come to the critical section. Thanks for your help!</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-08-11 18:04 GMT+02:00 Björn Brandenburg <span dir="ltr"><<a href="mailto:bbb@mpi-sws.org" target="_blank">bbb@mpi-sws.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> On 11 Aug 2016, at 18:55, shijunjie92 <<a href="mailto:shijunjie92@gmail.com">shijunjie92@gmail.com</a>> wrote:<br>
><br>
> Hello all:<br>
><br>
> I am trying to simulate the migration operation using DFLP_SEM included in P-FP. I have rewritten the 'chunk_lock_od = litmus_open_lock (different cpu)' in rtspin.c. The critical section's migration is working if I use DPCP, but it doesn't work when I using DFLP.<br>
> Could anyone can tell me, how to test the migration using DFLP_SEM<br>
> In my opinion, the -p option just allocate one cpu for the task(partition) , it doesn't matter to the migration of critical section. The migratiom of critical section can be set when the lock is opened.<br>
<br>
</span>Mh, it’s difficult to say much based on your description. Can you please provide more details? Can you post your source code?<br>
<br>
- Björn<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
litmus-dev mailing list<br>
<a href="mailto:litmus-dev@lists.litmus-rt.org">litmus-dev@lists.litmus-rt.org</a><br>
<a href="https://lists.litmus-rt.org/listinfo/litmus-dev" rel="noreferrer" target="_blank">https://lists.litmus-rt.org/<wbr>listinfo/litmus-dev</a><br>
</blockquote></div><br></div>