git: DragonFly_RELEASE_5_0 kernel - Improve tsleep/wakeup queue collisions (2)

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Sep 30 18:14:59 PDT 2017


commit ad894cee4c5893286fede92c117f20e706430f24
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Sep 30 18:11:08 2017 -0700

    kernel - Improve tsleep/wakeup queue collisions (2)
    
    * Fix SMP race.  When testing ident0 against -1 or the ident value
      as stored in a remote cpu's structure, ident0 must be loaded from memory
      once to avoid a cross-over race.

Summary of changes:
 sys/kern/kern_synch.c | 26 ++++++++++++++++++--------
 1 file changed, 18 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ad894cee4c5893286fede92c117f20e706430f24


-- 
DragonFly BSD source repository



More information about the Commits mailing list