Skip to content
Commit cc415bc1 authored by Peter Mitsis's avatar Peter Mitsis Committed by Anas Nashif
Browse files

kernel: Apply 'unlikely' attribute



Applies the 'unlikely' attribute to various kernel objects that
use z_unpend_first_thread() to optimize for the non-blocking path.

This boosts the thread_metric synchronization benchmark numbers
on the frdm_k64f board by about 10%.

Signed-off-by: default avatarPeter Mitsis <peter.mitsis@intel.com>
parent 89b73368
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment