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

git: msgport: Always save owner thread for threads' msgports


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 16 Sep 2012 18:32:55 -0700 (PDT)

commit d636cd486733eb4fa825846c87d978fc2b5bf429
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Mon Sep 17 09:29:28 2012 +0800

    msgport: Always save owner thread for threads' msgports
    
    This unbreaks the assertion in dropmsg for spin msgport.  Also for shared
    spin msgport don't allow dropmsg.
    
    While im here, add comment for mp_dropmsg and adjust comment about mpu_td
    
    Reported-by: pavalos@

Summary of changes:
 sys/kern/lwkt_msgport.c |   12 ++++++++++--
 sys/kern/lwkt_thread.c  |    2 +-
 sys/sys/msgport.h       |   18 ++++++++++++------
 3 files changed, 23 insertions(+), 9 deletions(-)

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


-- 
DragonFly BSD source repository



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