Subject: CVS commit: src/sys/miscfs/procfs
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 04/01/2007 03:18:57
Module Name:	src
Committed By:	christos
Date:		Sun Apr  1 03:18:57 UTC 2007

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

Log Message:
Instead of reading and writing little by little, allocate memory and
write the whole map in one shot so that we don't have to deal with the
map changing under us. Fixes the linux emulated jdk-1.6 where it was
losing the last map entry and could not find the stack on startup.


To generate a diff of this commit:
cvs rdiff -r1.30 -r1.31 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.