Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/miscfs/procfs

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 Laight:

Home | Main Index | Thread Index | Old Index