Non-working patch for 3GB of memory allocation

Alexandre Julliard julliard at winehq.org
Mon Jul 26 16:08:46 CDT 2004


Shachar Shemesh <wine-devel at shemesh.biz> writes:

> I think there is one zero too many here. Did you mean 0780000?

No, 78000000. Check loader/Makefile.in.

> So, effectively, in order to use this area, we'll need to manage it
> ourselves. Is that a correct assertion? Is there any reason we use
> malloc at all at the moment? It seems like unnecessary overhead to
> me. Don't we already know how to ask the OS for memory, and already
> know how to manage a heap inside this memory?

That's why we don't use malloc in Wine... And yes, to use the lower
1Gb we need to manage this ourselves, or fix the kernel memory
allocation algorithm. Fixing the kernel is a lot easier.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list