ntdll: a simple implementation of cross-process NtAllocateVirtualMemory

Dan Kegel dank at kegel.com
Fri Jun 2 14:47:55 CDT 2006

On 6/2/06, Alexandre Julliard <julliard at winehq.org> wrote:
> > OK, new plan: how about we preallocate a memory
> > area just big enough for the common case, with the
> > structures all set up, and let the server hand it
> > out to the first process to ask for it?  I don't think
> > it needs to be very big.
> Well, that may work for your specific problem, but it's clearly not an
> acceptable general solution.

How about this: we combine the original sychronous approach
with the small preallocated cache as a fallback for when
no threads are waiting?

If that's not good enough, what (short of a Linux kernel module)
might do?
- Dan

Wine for Windows ISVs: http://kegel.com/wine/isv

More information about the wine-devel mailing list