Subject: Re: CVS commit: src/sys
To: David Laight <dsl@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: source-changes
Date: 04/30/2007 21:33:18
On Mon, Apr 30, 2007 at 08:11:41PM +0000, David Laight wrote:
> 
> Module Name:	src
> Committed By:	dsl
> Date:		Mon Apr 30 20:11:41 UTC 2007
> 
> Modified Files:
> 	src/sys/kern: init_sysctl.c kern_exit.c kern_proc.c
> 	src/sys/sys: proc.h
> 
> Log Message:

Remove proc->p_ru and the 'rusage' pool.
I think it existed to cache the numbers in kernel memory of a zombie when
proc->p_stats was part of the 'u' area - so got freed earlier and wouldn't
(easily) be accessible from a separate process.  However since both the
p_ru and p_stats fields are freed at the same time it is no longer needed.
Ride the recent 4.99.19 version change.

> To generate a diff of this commit:
> cvs rdiff -r1.99 -r1.100 src/sys/kern/init_sysctl.c
> cvs rdiff -r1.174 -r1.175 src/sys/kern/kern_exit.c
> cvs rdiff -r1.108 -r1.109 src/sys/kern/kern_proc.c
> cvs rdiff -r1.245 -r1.246 src/sys/sys/proc.h
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 


	David

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