patch-2.2.16 linux/mm/filemap.c
Next file: linux/mm/mmap.c
Previous file: linux/kernel/sysctl.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Wed Jun 7 14:26:44 2000
- Orig file:
v2.2.15/linux/mm/filemap.c
- Orig date:
Wed May 3 17:16:53 2000
diff -urN v2.2.15/linux/mm/filemap.c linux/mm/filemap.c
@@ -142,7 +142,8 @@
struct page * page;
int count;
- count = limit >> priority;
+ /* Make sure we scan all pages twice at priority 0. */
+ count = (limit << 1) >> priority;
page = mem_map + clock;
do {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)