Date: Fri, 17 Dec 1999 18:16:11 -0500 (EST) From: Zhihui Zhang <zzhang@cs.binghamton.edu> To: Andrzej Bialecki <abial@webgiro.com> Cc: adsharma@sharmas.dhs.org.nospam, hackers@FreeBSD.ORG, msmith@FreeBSD.ORG Subject: Re: Dynamic sysctls (Re: Per CPU timekeeping for SMP) Message-ID: <Pine.GSO.3.96.991217181444.12417A-100000@sol.cs.binghamton.edu> In-Reply-To: <Pine.BSF.4.20.9912172318070.25253-100000@mx.webgiro.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 17 Dec 1999, Andrzej Bialecki wrote: > On Fri, 17 Dec 1999, Arun Sharma wrote: > > > I have also figured out how to dynamically register sysctl nodes. > > The trick is to basically malloc a sysctl_oid and fill in the right > > fields and calling sysctl_register_oid. The code is in a kernel > > module available from: > > > > http://sharmas.dhs.org/~adsharma/projects/freebsd/sysctl.tar.gz > > > > It really needs to go into the base kernel. Also, I think > > sysctl_register_long and its yet to be written friends (register_int) > > etc, need to go into kern_sysctl - so that others can reuse the code > > to dynamically create sysctl nodes. > Can this patch be applied to FreeBSD 3.3-Release? If so, is it difficult to do so? -Zhihui To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.991217181444.12417A-100000>