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

> [snip]
>
> Code your win32 support module to register the PER_WIN32 personality, and
> set the sys_win32_handler pointer appropriately. Probably not in that order.
>
>

Could this be a solution for modules that intercept system calls from
"normal" processes ?

Assuming fork() and friends are intercepted, could a
new personality be set which would use-count the module, preventing the
unload-whilst-processes-sleeping problem ?

I'm unsure whether this lcall7 thing would work at all... would the normal
process still go through ENTRY(system_call) ?

this would be a much nicer solution than use-counting each system call
individually, implying atomic_inc/atomic_dec each time, or making the
module unloadable and providing ioctl()s instead of module parameters.

Is this possible ?

thanks
john

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