Re: Dynamic sysctls (Re: Per CPU timekeeping for SMP)

1999-12-18 Thread Doug Rabson
On Fri, 17 Dec 1999, Zhihui Zhang wrote: 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

Dynamic sysctls (Re: Per CPU timekeeping for SMP)

1999-12-17 Thread Andrzej Bialecki
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:

Re: Dynamic sysctls (Re: Per CPU timekeeping for SMP)

1999-12-17 Thread Peter Wemm
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:

Re: Dynamic sysctls (Re: Per CPU timekeeping for SMP)

1999-12-17 Thread Andrzej Bialecki
On Sat, 18 Dec 1999, Peter Wemm wrote: 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

Re: Dynamic sysctls (Re: Per CPU timekeeping for SMP)

1999-12-17 Thread Zhihui Zhang
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