Why is TUNABLE_INT discouraged?
des at des.no
Mon Aug 9 08:11:16 UTC 2010
Garrett Cooper <gcooper at FreeBSD.org> writes:
> Why would someone express a tunable in a memory address (not being
> sarcastic... I just don't see why it makes sense right now, but if
> there's a valid reason I'm more than happy to be educated :)..)?
A few examples:
The following are not addresses, but can be > 32 bits on 64-bit machines
and even on some 32-bit machines using PAE / PTE:
It might be a good idea to introduce TUNABLE_POINTER and TUNABLE_SIZE.
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-hackers