FreeRTOS / FreeRTOS-Kernel

FreeRTOS kernel files only, submoduled into https://github.com/FreeRTOS/FreeRTOS and various other repos.
https://www.FreeRTOS.org
MIT License
2.62k stars 1.09k forks source link

Granular Lock for SMP #905

Open amazonKamath opened 9 months ago

amazonKamath commented 9 months ago

Current FreeRTOS SMP uses a single lsingle set of locks to guard all critical sections and scheduler suspension. This results in lower performance because of lock contention. This work item involves making the locking more granular by having one lock per kernel object to remove lock contention when different cores are not accessing the same kernel object.

Dazza0 commented 8 months ago

@amazonKamath @aggarg I can't assign this issue to myself. I think I'll need collaborator access to be able to do that (cc @sudeep-mohanty in case you need to assign FreeRTOS kernel issues as well).

Dazza0 commented 7 months ago

Note: I'm already working on this issue.