Date: Mon, 8 Aug 2005 18:54:36 +0000 (UTC) From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_sysctl.c Message-ID: <200508081854.j78IsaOp043271@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
csjp 2005-08-08 18:54:35 UTC FreeBSD src repository Modified files: sys/kern kern_sysctl.c Log: Check to see if we wired the user-supplied buffers in SYSCTL_OUT, if the buffer has not been wired and we are holding any non-sleep-able locks, drop a witness warning. If the buffer has not been wired, it is possible that the writing of the data can sleep, especially if the page is not in memory. This can result in a number of different locking issues, including dead locks. MFC after: 1 week Discussed with: rwatson Reviewed by: jhb Revision Changes Path 1.166 +6 -1 src/sys/kern/kern_sysctl.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508081854.j78IsaOp043271>