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 > > > fi

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 ker

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_regis

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 availabl

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: > > http://sharmas.dhs.org/

Re: Per CPU timekeeping for SMP

1999-12-17 Thread Garance A Drosihn
At 11:41 AM -0800 12/17/99, Arun Sharma wrote: >Arun Sharma wrote: > > > > > > Here's a reimplementation of my earlier per cpu time keeping patch > > on SMP. The attached patch is against a 11/20/99 -current that I > > cvsup'ed. > >Did anyone get a chance to review this ? Is everyone busy or send

Re: Per CPU timekeeping for SMP

1999-12-17 Thread Arun Sharma
Arun Sharma wrote: > > > Here's a reimplementation of my earlier per cpu time keeping patch > on SMP. The attached patch is against a 11/20/99 -current that I > cvsup'ed. Did anyone get a chance to review this ? Is everyone busy or sending patches to -hackers is frowned upon ? Or is this somet

Per CPU timekeeping for SMP

1999-12-05 Thread Arun Sharma
Here's a reimplementation of my earlier per cpu time keeping patch on SMP. The attached patch is against a 11/20/99 -current that I cvsup'ed. 1. On UP, sys_time is a global and contains the system wide stats cpu_time is a global and is essentially the same as sys_time. 2. On S