patch-2.3.24 linux/mm/mmap.c

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

diff -u --recursive --new-file v2.3.23/linux/mm/mmap.c linux/mm/mmap.c
@@ -687,11 +687,6 @@
 		end = end > mpnt->vm_end ? mpnt->vm_end : end;
 		size = end - st;
 
-		/*
-		 * The lock_kernel interlocks with kswapd try_to_swap_out
-		 * invoking a driver swapout() method, and being able to
-		 * guarantee vma existance.
-		 */
 		lock_kernel();
 		if (mpnt->vm_ops && mpnt->vm_ops->unmap)
 			mpnt->vm_ops->unmap(mpnt, st, size);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)