Henri Roosen wrote:
> On Fri, Apr 23, 2010 at 12:54 PM, Philippe Gerum <[email protected]> wrote:
>> On Tue, 2010-04-20 at 10:12 -0400, Andreas Glatz wrote:
>>> Just one more questions: Philippe said that you have something similar in
>>> 2.5. How do you enable it there? By setting the correct sheduling policy?
>>>
>> There are plans to have it. That behavior would be enabled whenever the
>> linux policy is SCHED_OTHER, and the base priority is 0 Xenomai-wise.
>> The latter would be enough for now, but it seems more future-proof not
>> to assume that only SCHED_OTHER tasks could be assigned Xenomai priority
>> 0.
>>
>
> Is there any update on the plans to have Xenomai base priority 0
> threads to be operating by default in relaxed mode? We are using 2.5.4
> and currently apply the patch below as a workaround. The patch is
> similar to the 2.4 patch of Andreas in that it actively switches back
> base prio 0 shadowed threads into relaxed mode, but doesn't take any
> held locks into account.
>
> Please comment on this patch. If there is any preliminary code for
> 2.5.x available regarding this functionality I'll be happy to test it
> ;-)
The implementation for this feature needs breaking the ABI, so it will
never be done in 2.5 branch. Fortunately, the 2.6 branch development is
almost started, to fix this issue, as well as a few other ones.
--
Gilles.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help