Skip to content

Minor compression heuristic cleanups

David Sterba linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs: heuristic: open code get_num callback of radix sortfs/btrfs/compression.c+9 -160 replies
2/3btrfs: heuristic: open code copy_call callback of radix sortfs/btrfs/compression.c+3 -140 replies
3/3btrfs: heuristic: call get4bits directlyfs/btrfs/compression.c+2 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Minor compression heuristic cleanups

The callback pointers for radix_sort are not needed, we don't plan to export the function now. The compiler is smart enough to replace the indirect calls with direct ones, so there's no change in the resulting asm code.

David Sterba (3):
btrfs: heuristic: open code get_num callback of radix sort
btrfs: heuristic: open code copy_call callback of radix sort
btrfs: heuristic: call get4bits directly

 fs/btrfs/compression.c | 42 +++++++++++-------------------------------
 1 file changed, 11 insertions(+), 31 deletions(-)
Signature · 1 line
2.15.1