patch-1.3.99 linux/mm/swapfile.c

Next file: linux/net/Changes
Previous file: linux/mm/filemap.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.98/linux/mm/swapfile.c linux/mm/swapfile.c
@@ -187,6 +187,7 @@
 		return 1;
 	}
 	set_pte(dir, pte_mkwrite(pte_mkdirty(mk_pte(page, vma->vm_page_prot))));
+	flush_tlb_page(vma, address);
 	++vma->vm_mm->rss;
 	swap_free(pte_val(pte));
 	return 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