cvs commit: src/sys/kern uipc_socket.c

Robert Watson rwatson at FreeBSD.org
Sun Jul 11 15:59:32 PDT 2004


rwatson     2004-07-11 22:59:32 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_socket.c 
  Log:
  Add sockbuf_pushsync(), an inline function that, following a change to
  the head of the mbuf chains in a socket buffer, re-synchronizes the
  cache pointers used to optimize socket buffer appends.  This will be
  used by soreceive() before dropping socket buffer mutexes to make sure
  a consistent version of the socket buffer is visible to other threads.
  
  While here, update copyright to account for substantial rewrite of much
  socket code required for fine-grained locking.
  
  Revision  Changes    Path
  1.200     +38 -0     src/sys/kern/uipc_socket.c


More information about the cvs-all mailing list