On 8/23/12, Luigi Rizzo <[email protected]> wrote:
> Hi,
> I am a bit unclear on what are the pros and cons of using
> TUNABLE_INT vs TUNABLE_INT_FETCH within a device driver.

TUNABLE_INT is basically the "statically initializer" version of
TUNABLE_INT_FETCH.
In short terms, you will use TUNABLE_INT_FETCH() in normal functions,
while TUNABLE_INT() in data declaration.

Attilio


-- 
Peace can only be achieved by understanding - A. Einstein
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[email protected]"

Reply via email to