Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jul 2002 09:32:05 +0800
From:      "David Xu" <davidx@viasoft.com.cn>
To:        "Julian Elischer" <julian@elischer.org>
Cc:        <freebsd-current@FreeBSD.ORG>
Subject:   Timeout and SMP race
Message-ID:  <001101c222fa$9b32eed0$ef01a8c0@davidwnt>
References:  <Pine.BSF.4.21.0207031704460.3993-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
while we are getting rid of Giant,  current race condition between =
softclock()
and callout_stop() is unacceptable. the race causes two many places in =
source
code would be modified to fit this new behaviour,  besides this, =
everywhere=20
callout_stop() is used need to hold sched_lock and do a mi_switch() and
modify td_flags is also unacceptable, this SMP race should be resolved =
in=20
kern_timeout.c. =20

David Xu



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001101c222fa$9b32eed0$ef01a8c0>