git: uipc: Use sendmsg_oncpu, if possible.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu Sep 28 02:50:29 PDT 2017


commit 0ebcb55924bdadfe58b6df4f90ac0730cce38082
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Thu Sep 28 09:42:04 2017 +0800

    uipc: Use sendmsg_oncpu, if possible.
    
    This further reduces unnecessary IPIs (5500/s -> 5000/s).

Summary of changes:
 sys/kern/lwkt_msgport.c |  6 ++++++
 sys/kern/uipc_msg.c     | 28 +++++++++++++++++++++++-----
 sys/kern/uipc_socket.c  |  5 ++++-
 sys/sys/msgport.h       |  1 +
 4 files changed, 34 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0ebcb55924bdadfe58b6df4f90ac0730cce38082


-- 
DragonFly BSD source repository



More information about the Commits mailing list