Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#3815 closed enhancement (fixed)

Improve SMP EDF scheduler configuration

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 5.1
Component: score Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

It is currently quite easy to misconfigure the SMP EDF scheduler so that not enough memory is reserved for the scheduler data structures. The only feedback to the user from these configuration errors is a memory corruption. Improve the configuration means or at least issue a fatal error.

Change History (2)

comment:1 Changed on 12/20/19 at 06:17:22 by Sebastian Huber <sebastian.huber@…>

Resolution: fixed
Status: assignedclosed

In [changeset:"806fe963a299ab2b59a7735dcd8a52bc9d5f8666/rtems" 806fe963/rtems]:

config: Improve EDF SMP scheduler configuration

Use CONFIGURE_MAXIMUM_PROCESSORS to configure the EDF SMP scheduler
context. This avoids hard to debug configuration errors resulting in
memory corruptions.

Close #3815.

comment:2 Changed on 04/15/20 at 14:57:22 by Sebastian Huber <sebastian.huber@…>

In [changeset:"7b7efb2ed01cff90e47a3a9e8dd93286981fc3b1/rtems-docs" 7b7efb2/rtems-docs]:

c-user: Fix RTEMS_SCHEDULER_EDF_SMP()

Update #3815.

Note: See TracTickets for help on using tickets.