which lock protects sysctl instances ?

From: Luigi Rizzo <rizzo_at_icir.org>
Date: Fri, 22 Jul 2005 03:28:19 -0700
hi,
is there any protection in RELENG_5 and above for multiple
sysctl handlers ?

In other words, assume i have
SYSCTL_PROC(_kern, OID_AUTO, foo, CTLTYPE_STRING|CTLFLAG_RW,
       0, 0, sysctl_foo_handler, "A", "bla bla bla");

do i have to worry about multiple instances of sysctl_foo_handler()
running in parallel, or they run under Giant, or some other lock ?

	thanks
	luigi
Received on Fri Jul 22 2005 - 08:28:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:39 UTC