patch-2.0.34 linux/mm/vmscan.c

Next file: linux/net/ax25/af_ax25.c
Previous file: linux/mm/vmalloc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.33/linux/mm/vmscan.c linux/mm/vmscan.c
@@ -120,8 +120,6 @@
 			if (vma->vm_ops->swapout(vma, address - vma->vm_start + vma->vm_offset, page_table))
 				kill_proc(pid, SIGBUS, 1);
 		} else {
-			if (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