Re: Enabling built-in modules earlier in init

2010-06-17 Thread Antti Kantee
On Wed Jun 16 2010 at 15:36:30 -0700, Paul Goyette wrote: The attached diffs add one more routine, module_init3() which gets called from init_main() right after module_class_init(MODULE_CLASS_ANY). module_init3() walks the list of builtin modules that have not already been init'd and marks

Re: Enabling built-in modules earlier in init

2010-06-17 Thread Paul Goyette
On Thu, 17 Jun 2010, Antti Kantee wrote: On Wed Jun 16 2010 at 15:36:30 -0700, Paul Goyette wrote: The attached diffs add one more routine, module_init3() which gets called from init_main() right after module_class_init(MODULE_CLASS_ANY). module_init3() walks the list of builtin modules that

Re: Simplelock v.s lock

2010-06-17 Thread Adam Hoka
On Thu, 17 Jun 2010 16:53:38 +0200 Putrycy putrycydesteng...@gmail.com wrote: Hey guys. I am a noob in netbsd. I had some experience with linux before though. During my work, ive approached a problem when i need to use a Linux-like spin locks. I found out that i need to use either lock or

Re: updating COMPAT_LINUX for linux 2.6.x support (take 2)

2010-06-17 Thread Matthew Mondor
On Thu, 17 Jun 2010 10:25:59 + Andrew Doran a...@netbsd.org wrote: This is mainly down the fact that we need kernel_lock to bracket legacy sections of code that aren't preemption safe. I think MULTIPROCESSOR should be sent off to the glue factory but that's another discussion :-). Is