Bug in debug.ncores sysctl code

Bruce Cran bruce at cran.org.uk
Sun Jun 20 19:39:16 UTC 2010

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

More information about the freebsd-current mailing list