Date: Tue, 6 Aug 2002 04:28:10 -0700 (PDT) From: Don Lewis <truckman@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_sysctl.c Message-ID: <200208061128.g76BSAxT014427@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
truckman    2002/08/06 04:28:10 PDT
  Modified files:
    sys/kern             kern_sysctl.c 
  Log:
  Don't automagically call vslock() from SYSCTL_OUT().  Instead, complain
  about calls to SYSCTL_OUT() made with locks held if the buffer has not
  been pre-wired.  SYSCTL_OUT() should not be called while holding locks,
  but if this is not possible, the buffer should be wired by calling
  sysctl_wire_old_buffer() before grabbing any locks.
  
  Revision  Changes    Path
  1.130     +2 -4      src/sys/kern/kern_sysctl.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208061128.g76BSAxT014427>
