Subject: Re: CVS commit: src/sys/miscfs/procfs
To: Alistair G. Crooks <agc@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: source-changes
Date: 05/30/2007 18:52:45
On Sat, May 26, 2007 at 04:21:04PM +0000, Alistair G. Crooks wrote:
> 
> Module Name:	src
> Committed By:	agc
> Date:		Sat May 26 16:21:04 UTC 2007
> 
> Modified Files:
> 	src/sys/miscfs/procfs: procfs_linux.c
> 
> Log Message:
> In /proc/<pid>/statm, avoid leaking buffer space if the attempt to get
> vmspace information fails.
> 
> Return the nice value properly to userland via the /proc/<pid>/stat entry.
> 
> Use vm sizes from vmspace, rather than rusage structs, for the same
> reasons as mentioned previously - see the comment in
> kvm_proc.c::kvm_getproc2() about rusage values and zombie processes.

Which is probably out of date after some recent garbage collection I did.
After the newlock2 merge the lifetimes of some of the structures changed.

	David

-- 
David Laight: david@l8s.co.uk