patch-2.1.126 linux/mm/memory.c
Next file: linux/mm/page_alloc.c
Previous file: linux/mm/filemap.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Thu Oct 22 12:20:37 1998
- Orig file:
v2.1.125/linux/mm/memory.c
- Orig date:
Thu Sep 17 17:53:39 1998
diff -u --recursive --new-file v2.1.125/linux/mm/memory.c linux/mm/memory.c
@@ -289,10 +289,6 @@
}
if (cow)
pte = pte_wrprotect(pte);
-#if 0 /* No longer needed with the new swap cache code */
- if (delete_from_swap_cache(&mem_map[page_nr]))
- pte = pte_mkdirty(pte);
-#endif
set_pte(dst_pte, pte_mkold(pte));
set_pte(src_pte, pte);
atomic_inc(&mem_map[page_nr].count);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov