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

git: async_rcvd: Don't add/drop socket reference on hot path


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 19 Mar 2013 01:49:13 -0700 (PDT)

commit 901b9bd6b1962d0dd6f0f11f30b205f34ff11827
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Tue Mar 19 16:51:49 2013 +0800

    async_rcvd: Don't add/drop socket reference on hot path
    
    Instead, add reference in tcp_attach(), and drop the reference in
    tcp_close()

Summary of changes:
 sys/kern/uipc_msg.c      | 5 +----
 sys/kern/uipc_socket2.c  | 5 ++++-
 sys/netinet/tcp_subr.c   | 2 ++
 sys/netinet/tcp_usrreq.c | 2 ++
 4 files changed, 9 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/901b9bd6b1962d0dd6f0f11f30b205f34ff11827


-- 
DragonFly BSD source repository



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