Skip to content

Add affinity to IDLE tasks in SMP systems#1413

Open
rus084 wants to merge 1 commit intoFreeRTOS:mainfrom
rus084:idle-affinity
Open

Add affinity to IDLE tasks in SMP systems#1413
rus084 wants to merge 1 commit intoFreeRTOS:mainfrom
rus084:idle-affinity

Conversation

@rus084
Copy link
Copy Markdown

@rus084 rus084 commented May 8, 2026

Add affinity to IDLE tasks in SMP systems

Description

currently in FreeRTOS idle threads created without affinity

that means it not possible to get idle percentage of specific core in SMP system via vTaskGetRunTimeStatistics. all IDLE threads will have almost same % time

also vApplicationIdleHook may be called from any cpu core, that may create unexpected conditions.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 8, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant