From: Denys Vlasenko <dvlasenk@redhat.com>
To: Al Viro <viro@zeniv.linux.org.uk>
Cc: Denys Vlasenko <dvlasenk@redhat.com>, Jens Axboe <axboe@fb.com>,
Christoph Hellwig <hch@lst.de>,
linux-kernel@vger.kernel.org
Subject: [PATCH] direct-io: Deinline submit_page_section, save 5304 bytes
Date: Sun, 13 Mar 2016 22:00:34 +0100 [thread overview]
Message-ID: <1457902836-30786-1-git-send-email-dvlasenk@redhat.com> (raw)
This function compiles to 2628 bytes, 2 callsites
text data bss dec hex filename
15197 16 0 15213 3b6d direct-io.o.before1
9655 16 0 9671 25c7 direct-io.o
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
CC: Al Viro <viro@zeniv.linux.org.uk>
CC: Jens Axboe <axboe@fb.com>
CC: Christoph Hellwig <hch@lst.de>
CC: linux-kernel@vger.kernel.org
---
fs/direct-io.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/direct-io.c b/fs/direct-io.c
index d6a9012..21ec685 100644
--- a/fs/direct-io.c
+++ b/fs/direct-io.c
@@ -774,7 +774,7 @@ out:
* If that doesn't work out then we put the old page into the bio and add this
* page to the dio instead.
*/
-static inline int
+static int
submit_page_section(struct dio *dio, struct dio_submit *sdio, struct page *page,
unsigned offset, unsigned len, sector_t blocknr,
struct buffer_head *map_bh)
--
1.8.1.4
next reply other threads:[~2016-03-13 21:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-13 21:00 Denys Vlasenko [this message]
2016-03-13 21:00 ` [PATCH] direct-io: Deinline dio_zero_block, save 2684 bytes Denys Vlasenko
2016-03-14 14:37 ` Jeff Moyer
2016-03-13 21:00 ` [PATCH] direct-io: Deinline dio_send_cur_page, save ~2000 bytes Denys Vlasenko
2016-03-14 14:37 ` Jeff Moyer
2016-03-14 14:36 ` [PATCH] direct-io: Deinline submit_page_section, save 5304 bytes Jeff Moyer
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=1457902836-30786-1-git-send-email-dvlasenk@redhat.com \
--to=dvlasenk@redhat.com \
--cc=axboe@fb.com \
--cc=hch@lst.de \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®