On Friday, April 15, 2016 03:09:58 AM Warner Losh wrote:
> Author: imp
> Date: Fri Apr 15 03:09:58 2016
> New Revision: 298026
> URL: https://svnweb.freebsd.org/changeset/base/298026
> 
> Log:
>   Use the new TUNABLE_INT64 to match the type of sbintime_t.

This seems odd and possibly broken.  The tunable should accept the same
values in the same units as the sysctl (e.g. milliseconds here, not a
64-bit fixed-point sbintime_t).  Also, in HEAD if you just add
CTLFLAG_TUN you will get that for free I think (as the sysctl code in
HEAD will parse the integer from the tunable and pass it to your
SYSCTL_PROC handler during boot).

-- 
John Baldwin
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to