lkml.org 
[lkml]   [2000]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] Wine speedup through kernel module
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/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.036 / U:26.820 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site