patch-1.3.47 linux/fs/proc/mem.c

Next file: linux/fs/super.c
Previous file: linux/drivers/scsi/sd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.46/linux/fs/proc/mem.c linux/fs/proc/mem.c
@@ -297,7 +297,8 @@
 		dtmp += PAGE_SIZE;
 	}
 
-	invalidate();
+	invalidate_range(vma->vm_mm, vma->vm_start, vma->vm_end);
+	invalidate_range(src_vma->vm_mm, src_vma->vm_start, src_vma->vm_end);
 	return 0;
 }
 

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