Re: [RFC] Wine speedup through kernel module

From: Arjan van de Ven (root@fenrus.demon.nl)
Date: Tue Sep 12 2000 - 13:39:05 EST


In article <5910.968755881@ocs3.ocs-net> you wrote:

> #ifdef CONFIG_MODULES

> int dynamic_syscall_in_modules_helper(int syscall, struct module *mod)
> {
> /* blah, blah, blah */
> }

> EXPORT_SYMBOL(dynamic_syscall_in_modules_helper);

> #endif

> The whole function would depend on CONFIG_MODULES, not just the export.

Agreed. But this is a 2.2 / 2.4 solution only; for 2.5 we (hopefully) can get
rid of such ifdef's by using the toolchain better (gcc's function-section
option) to automatically get rid of unreferenced functions.

Greetings,
   Arjan van de Ven
-
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:19 EST