git: kernel - Use atomic op for usched_global_cpumask
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Oct 10 23:45:09 PDT 2012
commit cb31dff3c5e12b338b6832cfde4445d76ea2b317
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/cb31dff3c5e12b338b6832cfde4445d76ea2b317
--
DragonFly BSD source repository
More information about the Commits
mailing list