lkml.org 
[lkml]   [2000]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC] Wine speedup through kernel module
Date

> David Howells <David.Howells@nexor.co.uk> wrote:
> > Now there's an idea... have the kernel autoload modules based on a
> > particular syscall number being handled in that module. Madness
> > *grin*.

kaos@ocs.com.au said:
> No more madness than kmod loading a module called char-major-10-135
> for /dev/rtc. Or code that uses modules.pcimap to work out which
> module to load for a PCI device. Just teach kmod to load
> syscall-agent-86 if you want to get smart.

... and make it handle the use count on the module properly.

struct syscall {
struct module *owner;
int (*handler)();
int whatever_other_random_thing_MIPS_keeps_in_syscall_table;
} syscall_table[__NR_syscalls]

Yeuch.


--
dwmw2


-
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.026 / U:2.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site