git: kernel - Make sure thread is released before migrating

看板DFBSD_commit作者時間15年前 (2011/03/07 02:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 95858b9186e25a62d68c58e909b9fe7f50ee81d7 Author: Matthew Dillon <dillon@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@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
文章代碼(AID): #1DSzCfCw (DFBSD_commit)