git: DragonFly_RELEASE_3_2 kernel - Use atomic op for usched_global_cpumask
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Oct 10 23:45:27 PDT 2012
commit 54a31110d6ea50a95da97df2e3df4d3635fe1598
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Wed Oct 10 23:43:03 2012 -0700
kernel - Use atomic op for usched_global_cpumask
* Use atomic op for usched_global_cpumask in the cpu init code. This
code is serialized anyway, I think, but it is best to be safe.
* Add cpu_ccfence() to ensure that the compiler does not reorder the
clearing of the mask in the cpusync code.
Summary of changes:
sys/kern/init_main.c | 2 +-
sys/kern/lwkt_ipiq.c | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/54a31110d6ea50a95da97df2e3df4d3635fe1598
--
DragonFly BSD source repository
More information about the Commits
mailing list