Shachar Shemesh wine-devel@shemesh.biz writes:
Alexandre Julliard wrote:
That's why we don't use malloc in Wine...
http://source.winehq.org/source/dlls/ntdll/virtual.c#L373 says otherwise.
Yes there are a few exceptions, because we obviously can't allocate from the process heap in the code that creates it. Also Unix libraries will sometimes call malloc.
1Gb we need to manage this ourselves, or fix the kernel memory allocation algorithm. Fixing the kernel is a lot easier.
Surely you mean "technologically easier", right?
Well, yes, but it's also the right place to do it.