cvs commit: src/sys/kern uipc_usrreq.c

Robert Watson rwatson at
Tue May 8 08:32:31 UTC 2007

rwatson     2007-05-08 08:32:30 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/kern             uipc_usrreq.c 
  Merge uipc_usrreq.c:1.171 from HEAD to RELENG_6:
    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  +24 -18    src/sys/kern/uipc_usrreq.c

More information about the cvs-src mailing list