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

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


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 12 Dec 2012 22:48:34 -0800 (PST)

commit f256b6c03397badf8e8f40e47cc0c0e0ed93f284
Author: Sepherosa Ziehau <sephe@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



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