svn commit: r238907 - projects/calloutng/sys/kern

Adrian Chadd adrian at freebsd.org
Mon Oct 29 02:25:34 UTC 2012


So colour me a bit silly, but why didn't you use an atomic here for
that single variable, rather than a memory barrier alone?

I feel slightly nitpicky about it, but this stuff rubs me up slightly
the wrong way, same as the "don't worry about using atomics for 32 bit
set/reads, as those are guaranteed to be atomic on all of the
platforms we use" done what, last year or so.

Thanks,



Adrian


More information about the svn-src-projects mailing list