Messages in this thread | | | From | David Woodhouse <> | Subject | Re: [RFC] Wine speedup through kernel module | Date | Tue, 12 Sep 2000 15:29:48 +0100 |
| |
> 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/
| |