[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: Severe startup latencies for Windows applications run under wine
From:       Henri Verbeet <hverbeet () gmail ! com>
Date:       2011-08-31 17:09:32
Message-ID: CAOsNvwzaaME2-k1drSNoUOhqBh=C-Jv=ZwAtvh2f67XAjPfvXA () mail ! gmail ! com
[Download RAW message or body]

On 31 August 2011 17:25, Ben Peddell <klightspeed@netspace.net.au> wrote:
> msys-bash uses WriteProcessMemory() to copy 500kB during an emulated
> fork.   This equates to about 125000 ptrace(PTRACE_POKEDATA,...)
> syscalls, each of which takes about 0.8us on linux 2.6.38.
>
I wonder if writing to /proc/pid/mem instead would help here then,
similar to what we do in read_process_memory(). Writable /proc/pid/mem
is a relatively recent feature though, you'd probably need at least a
2.6.39 kernel.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic