patch-1.3.2 linux/mm/filemap.c

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

diff -u --recursive --new-file v1.3.1/linux/mm/filemap.c linux/mm/filemap.c
@@ -103,6 +103,7 @@
 	unsigned long entry = SWP_ENTRY(SHM_SWP_TYPE, MAP_NR(page));
 
 	pte_val(*page_table) = entry;
+	invalidate();
 	filemap_sync_page(vma, offset, page);
 	if (pte_val(*page_table) == entry)
 		pte_clear(page_table);

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