linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] direct-io: Deinline submit_page_section, save 5304 bytes
@ 2016-03-13 21:00 Denys Vlasenko
  2016-03-13 21:00 ` [PATCH] direct-io: Deinline dio_zero_block, save 2684 bytes Denys Vlasenko
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Denys Vlasenko @ 2016-03-13 21:00 UTC (permalink / raw)
  To: Al Viro; +Cc: Denys Vlasenko, Jens Axboe, Christoph Hellwig, linux-kernel

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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-03-14 14:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-13 21:00 [PATCH] direct-io: Deinline submit_page_section, save 5304 bytes Denys Vlasenko
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).