patch-2.1.17 linux/mm/filemap.c

Next file: linux/mm/memory.c
Previous file: linux/kernel/sys.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.16/linux/mm/filemap.c linux/mm/filemap.c
@@ -129,7 +129,7 @@
 {
 	static unsigned long clock = 0;
 	struct page * page;
-	unsigned long limit = max_mapnr;
+	unsigned long limit = num_physpages;
 	struct buffer_head *tmp, *bh;
 	int count_max, count_min;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov