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:	Fri, 17 Feb 2012 09:27:49 -0500
From:	Kautuk Consul <>
To:	Andrew Morton <>,
	Peter Zijlstra <>,
	Hugh Dickins <>,
	KAMEZAWA Hiroyuki <>,
	Mel Gorman <>
	Kautuk Consul <>
Subject: [PATCH 1/2] rmap: Staticize page_referenced_file and page_referenced_anon

Staticize the page_referenced_anon and page_referenced_file
These functions are called only from page_referenced.

Signed-off-by: Kautuk Consul <>
 mm/rmap.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/mm/rmap.c b/mm/rmap.c
index c8454e0..74aff97 100644
--- a/mm/rmap.c
+++ b/mm/rmap.c
@@ -772,7 +772,7 @@ out:
 	return referenced;
-static int page_referenced_anon(struct page *page,
+static inline int page_referenced_anon(struct page *page,
 				struct mem_cgroup *memcg,
 				unsigned long *vm_flags)
@@ -821,7 +821,7 @@ static int page_referenced_anon(struct page *page,
  * This function is only called from page_referenced for object-based pages.
-static int page_referenced_file(struct page *page,
+static inline int page_referenced_file(struct page *page,
 				struct mem_cgroup *memcg,
 				unsigned long *vm_flags)

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