git: kernel - Avoid a race between dfly_schedulerclock and usched_dfly_cpu_init.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Wed Sep 5 12:55:42 PDT 2018


commit 3979974961a6ce6281d5b1425e99b0945281f39c
Author: Imre Vadász <imre at vdsz.com>
Date:   Tue Sep 4 22:47:17 2018 +0200

    kernel - Avoid a race between dfly_schedulerclock and usched_dfly_cpu_init.
    
    * This race was repeatedly occuring during startup, running with multiple
      virtual cpu cores in qemu (using TCG emulation on a DragonFly host).

Summary of changes:
 sys/kern/kern_clock.c | 28 +++++++++++++++++++++++++---
 1 file changed, 25 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3979974961a6ce6281d5b1425e99b0945281f39c


-- 
DragonFly BSD source repository



More information about the Commits mailing list