On Fri, Apr 05, 2013 at 15:35, Matthew Dempsky wrote:
> Maybe leave a comment that 74 was KERN_RTHREADS like for KERN_PROC?
easy peasy.
>> { "file2", CTLTYPE_STRUCT }, \
>> - { "rthreads", CTLTYPE_INT }, \
>> + { "rthreads", 0 }, \
>
> Maybe change "rthreads" to "gap" like the other removed sysctl entries?
So my thinking here is that "gap" leaks into sysctl. Compare.
xtu:~> sysctl kern.gap
sysctl: kern.gap: value is not available
xtu:~> sysctl kern.gapx
sysctl: second level name gapx in kern.gapx is invalid
I kind of like the first error message more for deprecated sysctls, as in I'd
like it to say sysctl: kern.rthreads: value is not available.