Date: Thu, 29 Sep 2005 18:45:02 +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 subr_prf.c Message-ID: <200509291845.j8TIj2R5062001@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2005-09-29 18:45:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/kern subr_prf.c Log: Merge subr_prof.c:1.119, 1.120, 1.121 from HEAD to RELENG_6: Acquire Giant in uprintf() and tprintf() due to the non-MPSAFEty of the tty code invoked from these functions. Correct age-old comments about uprintf()/tprintf() sleeping: they will never sleep. Unlike in the merge to RELENG_6, it is not necesary to acquire Giant in the NFS code, as the NFS client runs entirely under Giant in 5.x. Likewise, this is not a critical fix in 5.x as the vast majority of relevant calls to uprintf() are in the VFS code, which also runs with Giant in 5.x. However, there are some exposed code paths that make this MFC a good idea. Much useful feedback from: bde Approved by: re (scottl) Revision Changes Path 1.113.2.2 +13 -8 src/sys/kern/subr_prf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509291845.j8TIj2R5062001>