Date: Mon, 8 Feb 2010 14:08:52 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_mutex.c sched_4bsd.c sched_ule.c Message-ID: <201002081409.o18E98ul025693@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2010-02-08 14:08:52 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/kern kern_mutex.c sched_4bsd.c sched_ule.c Log: SVN rev 203662 on 2010-02-08 14:08:52Z by attilio MC r202889, r202940: - Fix a race in sched_switch() of sched_4bsd. Block the td_lock when acquiring explicitly sched_lock in order to prevent races with other td_lock contenders. - Merge the ULE's internal function thread_block_switch() into the global thread_lock_block() and make the former semantic as the default for thread_lock_block(). - Split out an invariant in order to have better checks. Revision Changes Path 1.213.2.4 +0 -2 src/sys/kern/kern_mutex.c 1.131.2.4 +9 -4 src/sys/kern/sched_4bsd.c 1.257.2.6 +6 -21 src/sys/kern/sched_ule.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002081409.o18E98ul025693>