From: David Sterba <dsterba@suse.com>
To: linux-btrfs@vger.kernel.org
Cc: David Sterba <dsterba@suse.com>
Subject: [PATCH 0/2] Function annotations
Date: Mon, 19 Feb 2018 17:24:13 +0100 [thread overview]
Message-ID: <cover.1519057258.git.dsterba@suse.com> (raw)
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(-)
--
2.16.1
next reply other threads:[~2018-02-19 16:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-19 16:24 David Sterba [this message]
2018-02-19 16:24 ` [PATCH 1/2] btrfs: add (the only possible) __exit annotation David Sterba
2018-02-19 16:24 ` [PATCH 2/2] btrfs: add more __cold annotations David Sterba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1519057258.git.dsterba@suse.com \
--to=dsterba@suse.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.