Re: [RFC] Wine speedup through kernel module

From: Keith Owens (kaos@ocs.com.au)
Date: Tue Sep 12 2000 - 05:23:57 EST


On Tue, 12 Sep 2000 10:25:16 +0100,
David Woodhouse <dwmw2@infradead.org> wrote:
>Unless it's _absolutely_ necessary, the kernel image (i.e. vmlinux) should
>not contain any code which is dependent on CONFIG_*_MODULE options.
>
>Therefore, stuff like...
>
>#ifdef CONFIG_WIN32_MODULE
> EXPORT_SYMBOL(my_win32_helper_func);
>#endif
>
>...would mean that you have to recompile the kernel and reboot to enable the
>module, rather than just compiling and loading the module.

But this is quite valid ...

#ifdef CONFIG_MODULES
EXPORT_SYMBOL(dynamic_syscall_in_modules_helper);
#endif

Use a generic helper for dynamic syscalls in modules, not tied to any
particular module or config option. You have to use a different kernel
if you turn the top level CONFIG_MODULES on.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:17 EST