Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Martin Husemann <martin@netbsd.org>
List: source-changes
Date: 12/06/2003 21:33:51
Module Name: src
Committed By: martin
Date: Sat Dec 6 21:33:51 UTC 2003
Modified Files:
src/sys/kern: init_sysctl.c
Log Message:
Fix kern.cp_time for MULTIPROCESSOR kernels: calculate size of result
correctly, free original instead of incremented pointer, copy results for
n = -2 case too, so top shows correct stats.
Additionaly, rearange code for better readability (from Andrew).
To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/sys/kern/init_sysctl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.