[Xenomai] [PATCH] copperplate/mercury: introduce tunable to set max priority

Philippe Gerum rpm at xenomai.org
Fri Dec 9 12:07:28 CET 2016


On 12/06/2016 03:10 PM, Ronny Meeus wrote:
> This patch introduces a tunable in the mercury copperplate code that allows
> to put an upper limit on the priority used by the created thread objects.
> 
> Before this patch the complete OS scheduler's FIFO range was used and it was
> not possible to restrict it. Restricting it can be useful in case other
> activities (typically platform related things) need to get a higher priority
> than the application threads.
> 
> The following tuneable can be used to configure the max priority to be 92:
> set_config_tunable(sched_max_prio, 92);
> 

The patch should only affect Mercury, not Cobalt. We may need some
CONFIG_XENO_MERCURY #ifdeffery here.

-- 
Philippe.



More information about the Xenomai mailing list