bcachefs: Add some unlikely() annotations
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 24 Nov 2022 01:11:46 +0000 (20:11 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:48 +0000 (17:09 -0400)
commit47a0ea6abeef60115e3ca60ed0a640bba376a7d0
tree276e31507a7747748dd6d6204a00112fbf82d325
parent994ba475433a9395cb71e2ffb1928ce9fdb98e80
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: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/bkey.c