zephyr/kernel
Peter Mitsis cc415bc139 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: Peter Mitsis <peter.mitsis@intel.com>
2024-10-15 04:06:32 -04:00
..
include
paging
CMakeLists.txt
Kconfig
Kconfig.device
Kconfig.init
Kconfig.mem_domain
Kconfig.obj_core
Kconfig.smp
Kconfig.vm
atomic_c.c
banner.c
busy_wait.c
compiler_stack_protect.c
condvar.c kernel: Apply 'unlikely' attribute 2024-10-15 04:06:32 -04:00
cpu_mask.c
device.c
dynamic.c
dynamic_disabled.c
errno.c
events.c
fatal.c
float.c
futex.c
idle.c
init.c
init_static.c
ipi.c
irq_offload.c
kheap.c
mailbox.c
main_weak.c
mem_domain.c
mem_slab.c kernel: Apply 'unlikely' attribute 2024-10-15 04:06:32 -04:00
mempool.c
mmu.c
msg_q.c kernel: Apply 'unlikely' attribute 2024-10-15 04:06:32 -04:00
mutex.c kernel: Apply 'unlikely' attribute 2024-10-15 04:06:32 -04:00
nothread.c
obj_core.c
pipes.c
poll.c
priority_queues.c
queue.c kernel: Apply 'unlikely' attribute 2024-10-15 04:06:32 -04:00
sched.c kernel: Apply 'unlikely' attribute 2024-10-15 04:06:32 -04:00
sem.c kernel: Apply 'unlikely' attribute 2024-10-15 04:06:32 -04:00
smp.c
spinlock_validate.c
stack.c kernel: Apply 'unlikely' attribute 2024-10-15 04:06:32 -04:00
system_work_q.c
thread.c
thread_monitor.c
timeout.c
timer.c
timeslicing.c
usage.c
userspace.c
userspace_handler.c
version.c
work.c
xip.c