Bug in debug.ncores sysctl code

From: Bruce Cran <bruce_at_cran.org.uk>
Date: Sun, 20 Jun 2010 20:38:37 +0100
I noticed on my i386 router running 9-CURRENT that the "debug.ncores" sysctl 
appears to get its value from some kernel memory that gets updated frequently:

debug.ncores: -936629388

On line 2967 of sys/kern/kern_sig.c should the value of num_cores instead of 
ncores be getting returned?

-- 
Bruce Cran
Received on Sun Jun 20 2010 - 17:39:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC