Why is TUNABLE_INT discouraged?

Garrett Cooper gcooper at FreeBSD.org
Sun Oct 24 04:05:45 UTC 2010


2010/10/18 Dag-Erling Smørgrav <des at des.no>:
> Garrett Cooper <gcooper at FreeBSD.org> writes:
>> PS I added uquad_t for consistency in the APIs, even though quad_t was
>> deprecated, but I didn't bump __FreeBSD_version__ -- wasn't sure if I
>> should have done that).
>
> You should bump __FreeBSD_version__ anyway so third-party or shared code
> can use the new API if it is available and the old one if it isn't.
>
>> Let's try with the patch attached...
>
> Mailman strips binary attachments.  The correct MIME type is
> text/x-patch.

    Ok. Let's retry with a .patch extension and by bumping __FreeBSD_version__.
Thanks!
-Garrett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tunables-enhancement.patch
Type: text/x-patch
Size: 31402 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20101024/f2e3bd95/tunables-enhancement.bin


More information about the freebsd-hackers mailing list