patch-2.1.76 linux/mm/vmscan.c

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

diff -u --recursive --new-file v2.1.75/linux/mm/vmscan.c linux/mm/vmscan.c
@@ -99,8 +99,6 @@
 			if (vma->vm_ops->swapout(vma, address - vma->vm_start + vma->vm_offset, page_table))
 				kill_proc(pid, SIGBUS, 1);
 		} else {
-			if (atomic_read(&page_map->count) != 1)
-				return 0;
 			if (!(entry = get_swap_page()))
 				return 0;
 			vma->vm_mm->rss--;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov