Subject: Re: Replacing the sysctl() interface.
To: None <itojun@iijlab.net>
From: Frank van der Linden <frank@wins.uva.nl>
List: tech-kern
Date: 06/05/2000 17:45:00
On Tue, Jun 06, 2000 at 12:39:43AM +0900, itojun@iijlab.net wrote:
> 
> 	I really don't like the way freebsd did about malloc types, sysctls
> 	and kernel internal initialization ordering (based on special
> 	linker symbol).  it is too hard to track down mistakes in those
> 	declarations.  I wasted enough time debugging linker hack mistakes.
> 	I give my vote to current netbsd way than freebsd way.

That was my first thought as well when .init sections came up: "what
about ordering"? Ordering is very important, and not knowing the order
is, as Itojun says, a debugging nightmare.

It might seem like a cool idea at first, but I'd rather see explicit
init calls, at least it's clear what's happening then.

Ever tried to debug a C++ application with global constructors?

- Frank