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

Attilio Rao attilio at freebsd.org
Mon Oct 29 13:08:36 UTC 2012


On 10/29/12, Adrian Chadd <adrian at freebsd.org> wrote:
> 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?

Because it is not necessary?
I just need that the compiler doesn't play silly, I don't need to add
unnecessary bloating code to sched_pin()/unpin().

Attilio


-- 
Peace can only be achieved by understanding - A. Einstein


More information about the svn-src-projects mailing list