Date: Fri, 25 Mar 2011 22:11:54 +0000 (UTC) From: Matthew D Fleming <mdf@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_sysctl.c src/sys/sys sysctl.h Message-ID: <201103252212.p2PMCN5h088902@repoman.freebsd.org>
index | next in thread | raw e-mail
mdf 2011-03-25 22:11:54 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/kern kern_sysctl.c
sys/sys sysctl.h
Log:
SVN rev 220012 on 2011-03-25 22:11:54Z by mdf
MFC r216060. This differs from the original commit in that it
preserves the KBI size of struct sysctl_oid. Also, on stable/8 the
compiler thinks that 'len' in sysctl_sysctl_name2oid() is used
uninitialized.
Do not hold the sysctl lock across a call to the handler. This fixes a
general LOR issue where the sysctl lock had no good place in the
hierarchy. One specific instance is #284 on
http://sources.zabbadoz.net/freebsd/lor.html .
Revision Changes Path
1.177.2.10 +68 -28 src/sys/kern/kern_sysctl.c
1.148.2.10 +3 -1 src/sys/sys/sysctl.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103252212.p2PMCN5h088902>
