Date: Fri, 22 Jul 2005 03:28:19 -0700 From: Luigi Rizzo <rizzo@icir.org> To: current@freebsd.org Subject: which lock protects sysctl instances ? Message-ID: <20050722032819.G95489@xorpc.icir.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050722032819.G95489>