mirror of
https://github.com/reactos/reactos.git
synced 2026-09-19 08:08:01 +08:00
4fbc4ba227ab26599d48c3c8b4c88503bfa44396
- Get rid of PHYSICAL_PAGE structure and move to WinNT MMPFN structure instead:
- Define a preprocessor legacy mapping so that freelist.c receives only minimal changes:
- This mapping allows the old meanings of the PHYSICAL_PAGE fields to remain, but now part of the new MMPFN structure
- Other modules (balance.c and mm.h) use the new structure directly, since only 3 lines of code required changes.
- The NT structure is 8 bytes smaller than the ReactOS structure, which saves about 1MB of physical memory and kernel VA space
for each 512MB of RAM, or 25% less. This also enables ReactOS to support 25% more memory than before (64GB instead of 48GB).
svn path=/trunk/; revision=41503
Languages
C
86.5%
C++
10.6%
Python
0.8%
Assembly
0.5%
CMake
0.5%
Other
0.8%