patch-1.3.51 linux/mm/filemap.c

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

diff -u --recursive --new-file v1.3.50/linux/mm/filemap.c linux/mm/filemap.c
@@ -78,7 +78,7 @@
 	limit = MAP_NR(limit);
 	if (clock >= limit)
 		clock = 0;
-	priority = limit >> (2*priority);
+	priority = limit >> priority;
 	page = mem_map + clock;
 	while (priority-- > 0) {
 		if (page->inode && page->count == 1) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this