Date: Tue, 11 Jul 2006 21:49:55 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern uipc_usrreq.c Message-ID: <200607112149.k6BLntC6013539@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607112149.k6BLntC6013539>
