mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 17:12:57 +00:00
[NTOSKRNL] MmTotalCommitLimit and MmTotalCommitLimitMaximum are in pages, not bytes
This commit is contained in:
parent
c8d51bb87a
commit
7f0ad923d2
1 changed files with 1 additions and 1 deletions
|
@ -2256,7 +2256,7 @@ MmArmInitSystem(IN ULONG Phase,
|
||||||
ExInitializePushLock(&MmSystemCacheWs.WorkingSetMutex);
|
ExInitializePushLock(&MmSystemCacheWs.WorkingSetMutex);
|
||||||
|
|
||||||
/* Set commit limit */
|
/* Set commit limit */
|
||||||
MmTotalCommitLimit = 2 * _1GB;
|
MmTotalCommitLimit = (2 * _1GB) >> PAGE_SHIFT;
|
||||||
MmTotalCommitLimitMaximum = MmTotalCommitLimit;
|
MmTotalCommitLimitMaximum = MmTotalCommitLimit;
|
||||||
|
|
||||||
/* Has the allocation fragment been setup? */
|
/* Has the allocation fragment been setup? */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue