Re: [RFC] Wine speedup through kernel module

From: David Woodhouse (dwmw2@infradead.org)
Date: Tue Sep 12 2000 - 09:29:48 EST


> 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/



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