git: kernel - Add TDF_RUNNING assertions
    Matthew Dillon 
    dillon at crater.dragonflybsd.org
       
    Wed Dec  7 18:54:23 PST 2011
    
    
  
commit 121f93bc96d950e7ad625952a6de5b189863e3b7
Author: Matthew Dillon <dillon at 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
    
    
More information about the Commits
mailing list