Date: Fri, 8 Apr 2011 18:48:57 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_timeout.c Message-ID: <201104081849.p38InKoS009452@repoman.freebsd.org>
index | next in thread | raw e-mail
attilio 2011-04-08 18:48:57 UTC
FreeBSD src repository
Modified files:
sys/kern kern_timeout.c
Log:
SVN rev 220456 on 2011-04-08 18:48:57Z by attilio
Reintroduce the fix already discussed in r216805 (please check its history
for a detailed explanation of the problems).
The only difference with the previous fix is in Solution2:
CPUBLOCK is no longer set when exiting from callout_reset_*() functions,
which avoid the deadlock (leading to r217161).
There is no need to CPUBLOCK there because the running-and-migrating
assumption is strong enough to avoid problems there.
Furthermore add a better !SMP compliancy (leading to shrinked code and
structures) and facility macros/functions.
Tested by: gianni, pho, dim
MFC after: 3 weeks
Revision Changes Path
1.130 +198 -24 src/sys/kern/kern_timeout.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104081849.p38InKoS009452>
