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

git: kernel - Tear out socket polling


From: Samuel Greear <sjg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 19 Jul 2010 14:57:05 -0700 (PDT)

commit 8b5c39bbafa92d9c4cc0bb75ed2cf5ab4316f2aa
Author: Samuel J. Greear <sjg@thesjg.com>
Date:   Mon Jul 12 02:56:57 2010 +0000

    kernel - Tear out socket polling
    
    * Remove existing (now legacy) code that implements socket polling, kq
      filters are now the "One True (and only) Way"
    
    * Implement a new socket_wait() that can be used to wait for data to arrive
      on a single descriptor with an optional timeout.

Summary of changes:
 sys/kern/sys_generic.c          |   46 +++++++++++++++++++++++++++++
 sys/kern/uipc_domain.c          |    1 -
 sys/kern/uipc_msg.c             |   26 -----------------
 sys/kern/uipc_socket.c          |   43 ----------------------------
 sys/kern/uipc_socket2.c         |    7 ----
 sys/kern/uipc_usrreq.c          |    3 +-
 sys/net/netisr.h                |    1 -
 sys/net/netmsg.h                |    8 -----
 sys/net/raw_usrreq.c            |    4 +--
 sys/net/rtsock.c                |    3 +-
 sys/netbt/hci_socket.c          |    3 +-
 sys/netbt/l2cap_socket.c        |    3 +-
 sys/netbt/rfcomm_socket.c       |    3 +-
 sys/netbt/sco_socket.c          |    3 +-
 sys/netgraph/socket/ng_socket.c |    6 +--
 sys/netinet/ip_divert.c         |    3 +-
 sys/netinet/raw_ip.c            |    3 +-
 sys/netinet/sctp_usrreq.c       |    3 +-
 sys/netinet/tcp_usrreq.c        |    6 +--
 sys/netinet/udp_usrreq.c        |    3 +-
 sys/netinet6/raw_ip6.c          |    3 +-
 sys/netinet6/sctp6_usrreq.c     |    3 +-
 sys/netinet6/udp6_usrreq.c      |    3 +-
 sys/netproto/atalk/ddp_usrreq.c |    3 +-
 sys/netproto/atm/atm_aal5.c     |    3 +-
 sys/netproto/atm/atm_usrreq.c   |    3 +-
 sys/netproto/ipsec/keysock.c    |    3 +-
 sys/netproto/ipx/ipx_usrreq.c   |    6 +--
 sys/netproto/ipx/spx_usrreq.c   |    6 +--
 sys/netproto/key/keysock.c      |    2 +-
 sys/netproto/natm/natm.c        |    3 +-
 sys/netproto/ncp/ncp_ncp.c      |   22 ++++++++++----
 sys/netproto/ncp/ncp_sock.c     |   58 -------------------------------------
 sys/netproto/ncp/ncp_sock.h     |    2 -
 sys/netproto/ns/idp_usrreq.c    |    6 +--
 sys/netproto/ns/spp_usrreq.c    |    6 +--
 sys/netproto/smb/smb_trantcp.c  |   60 +-------------------------------------
 sys/sys/protosw.h               |   11 +------
 sys/sys/socketops.h             |    1 -
 sys/sys/socketvar.h             |    3 +-
 40 files changed, 98 insertions(+), 287 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8b5c39bbafa92d9c4cc0bb75ed2cf5ab4316f2aa


-- 
DragonFly BSD source repository



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