Why is TUNABLE_INT discouraged?

Garrett Cooper gcooper at FreeBSD.org
Sun Oct 24 04:20:57 UTC 2010


2010/10/23 Garrett Cooper <gcooper at freebsd.org>:
> 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__.

Sorry.. forgot the uquad_t addition to sys/types.h :(...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tunables-enhancement.patch
Type: text/x-patch
Size: 31759 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20101024/5427962e/tunables-enhancement-0001.bin


More information about the freebsd-hackers mailing list