git: kernel - Improve tsleep/wakeup queue collisions (2)
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Sep 30 18:12:36 PDT 2017
commit b4d1b684d6fb1e2d6f102be16729f1b65c53b183
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/b4d1b684d6fb1e2d6f102be16729f1b65c53b183
--
DragonFly BSD source repository
More information about the Commits
mailing list