Source-Changes archive

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

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




To: "Alistair G. Crooks" <agc%netbsd.org@localhost>

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

From: David Laight <david%l8s.co.uk@localhost>

Date: Wed, 30 May 2007 18:52:45 +0100


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@localhost



Follow-Ups:

Re: CVS commit: src/sys/miscfs/procfs
From: Alistair Crooks




Prev by Date: CVS commit: [netbsd-4] src/sys/arch/sh3/sh3

Next by Date: CVS commit: [netbsd-4] src/sys/arch/sh3/sh3

Previous by Thread: CVS commit: [netbsd-4] src/sys/arch/sh3/sh3

Next by Thread: Re: CVS commit: src/sys/miscfs/procfs

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index