git: thread: Add td_type field; this avoids blowout td_flags w/ type flags

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Dec 12 22:48:34 PST 2012


commit f256b6c03397badf8e8f40e47cc0c0e0ed93f284
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Thu Dec 13 14:12:16 2012 +0800

    thread: Add td_type field; this avoids blowout td_flags w/ type flags
    
    - Replace TDF_CRYPTO with TD_TYPE_CRYPTO
    - All lwkt threads are created as TD_TYPE_GENERIC
    - Netisr threads now mark themselves as TD_TYPE_NETISR
    
    Discussed-with: sjg@ and dillon@
    Approved-by: dillon@

Summary of changes:
 sys/kern/lwkt_thread.c  |    1 +
 sys/net/netisr.c        |    2 ++
 sys/opencrypto/crypto.c |    4 ++--
 sys/sys/thread.h        |    9 +++++++--
 4 files changed, 12 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f256b6c03397badf8e8f40e47cc0c0e0ed93f284


-- 
DragonFly BSD source repository



More information about the Commits mailing list