lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1457902836-30786-2-git-send-email-dvlasenk@redhat.com>
Date:	Sun, 13 Mar 2016 22:00:35 +0100
From:	Denys Vlasenko <dvlasenk@...hat.com>
To:	Al Viro <viro@...iv.linux.org.uk>
Cc:	Denys Vlasenko <dvlasenk@...hat.com>, Jens Axboe <axboe@...com>,
	Christoph Hellwig <hch@....de>, linux-kernel@...r.kernel.org
Subject: [PATCH] direct-io: Deinline dio_zero_block, save 2684 bytes

This function compiles to 2684 bytes, 2 callsites

   text	   data	    bss	    dec	    hex	filename
   9655	     16	      0	   9671	   25c7	direct-io.o.before2
   9559	     16	      0	   9575	   2567	direct-io.o

Signed-off-by: Denys Vlasenko <dvlasenk@...hat.com>
CC: Al Viro <viro@...iv.linux.org.uk>
CC: Jens Axboe <axboe@...com>
CC: Christoph Hellwig <hch@....de>
CC: linux-kernel@...r.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 21ec685..729c902 100644
--- a/fs/direct-io.c
+++ b/fs/direct-io.c
@@ -857,7 +857,7 @@ static void clean_blockdev_aliases(struct dio *dio, struct buffer_head *map_bh)
  * `end' is zero if we're doing the start of the IO, 1 at the end of the
  * IO.
  */
-static inline void dio_zero_block(struct dio *dio, struct dio_submit *sdio,
+static void dio_zero_block(struct dio *dio, struct dio_submit *sdio,
 		int end, struct buffer_head *map_bh)
 {
 	unsigned dio_blocks_per_fs_block;
-- 
1.8.1.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ