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

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Sep 16 18:32:55 PDT 2012


commit d636cd486733eb4fa825846c87d978fc2b5bf429
Author: Sepherosa Ziehau <sephe at 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



More information about the Commits mailing list