Subject: CVS commit: src/sys/miscfs/procfs
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 02/18/2007 20:03:44
Module Name:	src
Committed By:	ad
Date:		Sun Feb 18 20:03:44 UTC 2007

Modified Files:
	src/sys/miscfs/procfs: procfs_map.c

Log Message:
procfs_map():

- Drop the target's vm_map lock before calling uiomove(). We could
  deadlock if inspecting /proc/curproc/map.
- If the vm_map might have changed, restart the operation, but give
  up after 250 retries if the map keeps changing.  XXX This is not
  ideal.


To generate a diff of this commit:
cvs rdiff -r1.29 -r1.30 src/sys/miscfs/procfs/procfs_map.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.