Skip to content

<compiler.h>

Branch and placement hints shared by the kernel and userspace.

#include <compiler.h>

Constants

Name Value Description
likely(x) Hints that x is usually true, so the compiler lays out that path as the fall-through.
unlikely(x) Hints that x is usually false, moving that path out of line.