Commit 47a0ea6a authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Add some unlikely() annotations



Add a few easy unlikely() optimizations. These are mainly worthwhile
because the compiler will (usually) put the branch-not-taken path at the
end of the function, meaning better icache utilization.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 994ba475
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment