David Howells wrote: > > Oliver Neukum <[EMAIL PROTECTED]> wrote: > > I see two possible solutions. > > > > Either you make that function available to user space by your syscall. > > Not a good idea... the whole point is to make sure no one is in a syscall when > the module is unloaded. If you do it this way, the tail end of this syscall > can fight with the module unload code. > > > Or you find a way to hook into task termination. > > I'm already doing that... See the release() call on the fd. But this doesn't > stop someone from invoking a syscall at an inappropriate time. > > David Howells > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to [EMAIL PROTECTED] > Please read the FAQ at http://www.tux.org/lkml/ The best solution is to have a stub which is always resident that does the inc/dec of the module count. This stub can reserve the syscall number as well. -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: [RFC] Wine speedup through kernel module Linus Torvalds
- Re: [RFC] Wine speedup through kernel module Pavel Machek
- Re: [RFC] Wine speedup & "dynamic syst... David Howells
- Re: [RFC] Wine speedup through kernel module David Howells
- Re: [RFC] Wine speedup through kernel module David Howells
- Re: [RFC] Wine speedup through kernel module David Howells
- Re: [RFC] Wine speedup through kernel module Albert D. Cahalan
- Re: [RFC] Wine speedup through kernel module David Howells
- Re: [RFC] Wine speedup through kernel module David Howells
- Re: [RFC] Wine speedup through kernel module David Howells
- Re: [RFC] Wine speedup through kernel module Brian Gerst
- Re: [RFC] Wine speedup through kernel module David Howells
- Re: [RFC] Wine speedup through kernel module David Woodhouse
- Re: [RFC] Wine speedup through kernel module Keith Owens
- Re: [RFC] Wine speedup through kernel module Arjan van de Ven
- Re: [RFC] Wine speedup through kernel modul... Keith Owens
- Re: [RFC] Wine speedup through kernel m... Arjan van de Ven
- Re: [RFC] Wine speedup through kernel module David Howells
- Re: [RFC] Wine speedup through kernel module Richard Guenther
- Re: [RFC] Wine speedup through kernel modul... David Howells
- Re: [RFC] Wine speedup through kernel module David Woodhouse