cvs commit: src/sys/kern subr_prf.c src/sys/nfsclient nfs_socket.c src/sys/rpc rpcclnt.c

Robert Watson rwatson at
Thu Sep 29 11:40:37 PDT 2005

rwatson     2005-09-29 18:40:36 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/kern             subr_prf.c 
    sys/nfsclient        nfs_socket.c 
    sys/rpc              rpcclnt.c 
  Merge subr_prof.c:1.119, 1.120, 1.121, nfs_socket.c:1.130,
  rpcclnt.c:1.14 from HEAD to RELENG_6:
  Acquire Giant in uprintf() and tprintf() due to the non-MPSAFEty of
  the tty code invoked from these functions.  In two cases, during
  timeout handling in NFS-related RPC client code, acquire Giant in
  the caller before other mutexes the caller might hold, in order to
  avoid lock order reversals with Giant (a recursive acquire is not
  a reversal as it won't ever wait).
  Correct age-old comments about uprintf()/tprintf() sleeping: they
  will never sleep.
  Much useful feedback from:      bde
  Approved by:                    re (scottl)
  Revision   Changes    Path  +13 -8     src/sys/kern/subr_prf.c  +13 -1     src/sys/nfsclient/nfs_socket.c   +8 -1      src/sys/rpc/rpcclnt.c

More information about the cvs-src mailing list