Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2011 22:11:39 +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.p2PMC72T088843@repoman.freebsd.org>

index | next in thread | raw e-mail

mdf         2011-03-25 22:11:39 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/kern             kern_sysctl.c 
    sys/sys              sysctl.h 
  Log:
  SVN rev 220011 on 2011-03-25 22:11:39Z 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.201.2.4  +68 -28    src/sys/kern/kern_sysctl.c
  1.176.2.5  +4 -2      src/sys/sys/sysctl.h


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103252212.p2PMC72T088843>