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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 20 Mar 2014 22:53:25 +0100
From:	Fabian Frederick <>
To:	linux-kernel <>
Cc:	akpm <>
Subject: [PATCH 1/1] mm/filemap.c: ra_submit inline

f9acc8c7b35a10 ("readahead: sanify file_ra_state names")
left ra_submit with a single function call.

Add 'inline' to save some stack (suggested by Andrew Morton).

Signed-off-by: Fabian Frederick <>
 mm/readahead.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/readahead.c b/mm/readahead.c
index 0de2360..ce8de09 100644
--- a/mm/readahead.c
+++ b/mm/readahead.c
@@ -246,7 +246,7 @@ unsigned long max_sane_readahead(unsigned long nr)
  * Submit IO for the read-ahead request in file_ra_state.
-unsigned long ra_submit(struct file_ra_state *ra,
+inline unsigned long ra_submit(struct file_ra_state *ra,
 		       struct address_space *mapping, struct file *filp)
 	int actual;
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists