git: msgport: Merge several sendmsg functions

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Oct 30 07:19:49 PDT 2013


commit 62734c132ceb7ad7474119de2557a523a12c5ffe
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Tue Oct 29 22:10:14 2013 +0800

    msgport: Merge several sendmsg functions
    
    sendmsg_stage1 and sendmsg_stage2 are actually copy and paste of part of
    sendmsg.  Make the functionality inline and let sendmsg call them
    sequentially.
    
    While I am here, rename "stage1" to "prepare" and "stage2" to "start"

Summary of changes:
 sys/kern/lwkt_msgport.c | 54 +++++++++++++++++++++++++------------------------
 sys/kern/uipc_msg.c     |  4 ++--
 sys/sys/msgport.h       |  4 ++--
 3 files changed, 32 insertions(+), 30 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/62734c132ceb7ad7474119de2557a523a12c5ffe


-- 
DragonFly BSD source repository



More information about the Commits mailing list