Troy Rollo wine@troy.rollo.name writes:
Doesn't the list in VIRTUAL_FirstView hold all that is needed? If we reserve the whole lot, it seems to me that the only parts that would need to be added in there would be the parts that are below the 0xc0000000 boundary and were allocated before we get in to claim the range.
No, because we can't currently allocate a view in the middle of another one, which we would need in order to load Win9x native dlls.
On related matters, looking at the code that calls mmap yesterday, I noticed that a VirtualAlloc with MEM_RESERVED (the flag to reserve a range of virtual addresses under windows) does not use the MAP_NORESERVE flag (the flag to prevent the system from allocating swap space for the mapped range) - is there a reason for this?
No real reason no, this could be changed.