Date: Wed, 15 Sep 2010 15:55:58 +0000 (UTC) From: Matthew D Fleming <mdf@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern sched_ule.c Message-ID: <201009151556.o8FFuDVS004318@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mdf 2010-09-15 15:55:58 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/kern sched_ule.c
Log:
SVN rev 212667 on 2010-09-15 15:55:58Z by mdf
MFC r212115:
Fix a bug with sched_affinity() where it checks td_pinned of another
thread in a racy manner, which can lead to attempting to migrate a
thread that is pinned to a CPU. Instead, have sched_switch() determine
which CPU a thread should run on if the current one is not allowed.
KASSERT in sched_bind() that the thread is not yet pinned to a CPU.
KASSERT in sched_switch() that only migratable threads or those moving
due to a sched_bind() are changing CPUs.
Note that this is direct commit as ipi_cpu() only exists in CURRENT.
Revision Changes Path
1.214.2.15 +14 -12 src/sys/kern/sched_ule.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009151556.o8FFuDVS004318>
