cvs commit: src/sys/kern uipc_usrreq.c

Robert Watson rwatson at FreeBSD.org
Tue Jul 11 21:50:01 UTC 2006


rwatson     2006-07-11 21:49:55 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_usrreq.c 
  Log:
  Reduce periods of simultaneous acquisition of various socket buffer
  locks and the unplock during uipc_rcvd() and uipc_send() by caching
  certain values from one structure while its locks are held, and
  applying them to a second structure while its locks are held.  If
  done carefully, this should be correct, and will reduce the amount
  of work done with the global unp lock held.
  
  Tested by:      kris (earlier version)
  
  Revision  Changes    Path
  1.171     +28 -20    src/sys/kern/uipc_usrreq.c


More information about the cvs-all mailing list