[LITMUS^RT] SRP -> PCP

Glenn Elliott gelliott at cs.unc.edu
Wed Apr 25 20:37:40 CEST 2012


I don't believe SRP can support suspensions, since it could violate stack constraints.  To be honest, I haven't throughly reviewed the Litmus SRP implementation, so maybe this really isn't an issue and I can just use SRP as-is.

-Glenn


On Apr 25, 2012, at 2:30 PM, Björn Brandenburg wrote:

> On Apr 25, 2012, at 8:21 PM, Glenn Elliott wrote:
>> I'd like to have an implementation of PCP (uniprocessor, for use with P-EDF).  Since SRP and PCP are so similar, I thought that I might be able to make a few changes to the SRP implementation to get PCP.  Is this true?  Björn, you've implemented PCP once or twice, haven't you?
> 
> Yes. In fact, there's currently a port of the P-FP plugin with the PCP implementation to the main version in progress. It should be ready a few days.
> 
>> The reason why I want to use PCP instead of SRP is that resource-holding tasks in my system can self-suspend.  SRP doesn't support suspensions.
> 
> Why wouldn't the SRP support self-suspensions? Is our implementation buggy? I vaguely recall fixing a bug related to the SRP and self-suspensions years ago.
> 
> - Björn
> 
> _______________________________________________
> litmus-dev mailing list
> litmus-dev at lists.litmus-rt.org
> https://lists.litmus-rt.org/listinfo/litmus-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.litmus-rt.org/pipermail/litmus-dev/attachments/20120425/e7fde531/attachment.html>


More information about the litmus-dev mailing list