git: kernel - Add TDF_RUNNING assertions

看板DFBSD_commit作者時間14年前 (2011/12/28 02:04), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 121f93bc96d950e7ad625952a6de5b189863e3b7 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Wed Dec 7 18:51:52 2011 -0800 kernel - Add TDF_RUNNING assertions * Assert that the target lwkt thread being switched to is not flagged as running. * Assert that the originating lwkt thread being switched from is flagged as running. * Fix the running flag initial condition for the idle thread. Summary of changes: sys/kern/lwkt_thread.c | 8 ++++++++ sys/platform/pc32/i386/swtch.s | 4 +--- sys/platform/pc64/x86_64/support.s | 2 +- sys/platform/pc64/x86_64/swtch.s | 22 +++++++++++++++++++--- sys/platform/vkernel/i386/swtch.s | 4 +--- sys/platform/vkernel64/x86_64/swtch.s | 4 +--- 6 files changed, 31 insertions(+), 13 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/121f93bc96d950e7ad625952a6de5b189863e3b7 -- DragonFly BSD source repository
文章代碼(AID): #1E-WZ73l (DFBSD_commit)