git: kernel - Make sure thread is released before migrating
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun Mar 6 10:27:12 PST 2011
commit 95858b9186e25a62d68c58e909b9fe7f50ee81d7
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sun Mar 6 10:24:49 2011 -0800
kernel - Make sure thread is released before migrating
* Make sure the current thread is in a released state before migrating it
to another cpu. Doing the release inside the lwkt_switch(), after we
send the IPI, can result in a livelock.
Reported-by: Peter Avalos <peter at theshell.com>
Summary of changes:
sys/kern/lwkt_thread.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/95858b9186e25a62d68c58e909b9fe7f50ee81d7
--
DragonFly BSD source repository
More information about the Commits
mailing list