patch-2.4.0-test10 linux/mm/swap.c

Next file: linux/mm/swapfile.c
Previous file: linux/mm/page_alloc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test9/linux/mm/swap.c linux/mm/swap.c
@@ -174,6 +174,7 @@
 	 */
 	int maxcount = (page->buffers ? 3 : 2);
 	page->age = 0;
+	ClearPageReferenced(page);
 
 	/*
 	 * Don't touch it if it's not on the active list.

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)