Tick interrupt priority?
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Sep 19 07:19:29 UTC 2019
On 19/09/2019 06:32, Chris Johns wrote:
> On 19/9/19 2:16 pm, groups at chichak.ca wrote:
>> I was reviewing the interrupt priorities on a project where I’m using FreeRTOS and they want the tick interrupt priority to be very low.
>>
>> I found this to be not obvious, then started wondering what the elders of the RTEMS suggest for use with RTEMS.
>>
>> Should the tick interrupt be high priority or low?
>
> If all that is happening is the OS tick entry point is being called then I set
> the priority below any other sources. If the OS tick routine expires a timer and
> readies a task that task will not be dispatched until the outer most interrupt
> exits so being any higher does not gain you anything.
Yes, also in SMP configurations, the inter-processor interrupt should
have the lowest priority possible.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the users
mailing list