cvs commit: src/sys/netinet udp_usrreq.c

Robert Watson rwatson at FreeBSD.org
Mon Jul 7 10:57:09 UTC 2008


rwatson     2008-07-07 10:56:55 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          udp_usrreq.c 
  Log:
  SVN rev 180344 on 2008-07-07 10:56:55Z by rwatson
  
  First step towards parallel transmit in UDP: if neither a specific
  source or a specific destination address is requested as part of a send
  on a UDP socket, read lock the inpcb rather than write lock it.  This
  will allow fully parallel transmit down to the IP layer when sending
  simultaneously from multiple threads on a connected UDP socket.
  
  Parallel transmit for more complex cases, such as when sendto(2) is
  invoked with an address and there's already a local binding, will
  follow.
  
  MFC after:      1 month
  
  Revision  Changes    Path
  1.226     +12 -5     src/sys/netinet/udp_usrreq.c


More information about the cvs-src mailing list