DragonFly BSD
DragonFly commits List (threaded) for 2012-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: DragonFly_RELEASE_3_2 kernel - Use atomic op for usched_global_cpumask


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 10 Oct 2012 23:45:27 -0700 (PDT)

commit 54a31110d6ea50a95da97df2e3df4d3635fe1598
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]