On 8/23/12, Luigi Rizzo <ri...@iet.unipi.it> 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
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to