DragonFly BSD
DragonFly commits List (threaded) for 2011-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Add TDF_RUNNING assertions


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 7 Dec 2011 18:53:31 -0800 (PST)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]