Skip to content

Function annotations

David Sterba linux-btrfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: add (the only possible) __exit annotationfs/btrfs/volumes.c fs/btrfs/volumes.h+2 -20 replies
2/2btrfs: add more __cold annotationsfs/btrfs/backref.c fs/btrfs/backref.h fs/btrfs/compression.c +19 more+28 -240 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/2] Function annotations

Add some more annotations, inspired by the __init.

The 2nd patches gives roughly -800 delta in object size, but nothing too significant.

text data bss dec hex filename

1238987   75977   18520 1333484  1458ec pre/btrfs.ko
1238199   75977   18520 1332696  1455d8 post/btrfs.ko

David Sterba (2):
btrfs: add (the only possible) __exit annotation
btrfs: add more __cold annotations

 fs/btrfs/backref.c       | 2 +-
 fs/btrfs/backref.h       | 2 +-
 fs/btrfs/compression.c   | 2 +-
 fs/btrfs/compression.h   | 2 +-
 fs/btrfs/ctree.h         | 9 +++++----
 fs/btrfs/delayed-inode.c | 2 +-
 fs/btrfs/delayed-inode.h | 2 +-
 fs/btrfs/delayed-ref.c   | 2 +-
 fs/btrfs/delayed-ref.h   | 2 +-
 fs/btrfs/disk-io.c       | 2 +-
 fs/btrfs/disk-io.h       | 2 +-
 fs/btrfs/extent_io.c     | 2 +-
 fs/btrfs/extent_io.h     | 2 +-
 fs/btrfs/extent_map.c    | 2 +-
 fs/btrfs/extent_map.h    | 2 +-
 fs/btrfs/file.c          | 2 +-
 fs/btrfs/inode.c         | 2 +-
 fs/btrfs/ordered-data.c  | 2 +-
 fs/btrfs/ordered-data.h  | 2 +-
 fs/btrfs/super.c         | 2 +-
 fs/btrfs/sysfs.c         | 2 +-
 fs/btrfs/tree-checker.c  | 3 +++
 fs/btrfs/volumes.c       | 2 +-
 fs/btrfs/volumes.h       | 2 +-
 24 files changed, 30 insertions(+), 26 deletions(-)
Signature · 1 line
2.16.1