mirror of
https://github.com/reactos/reactos.git
synced 2025-04-04 20:50:41 +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);
|
||||
|
||||
/* Set commit limit */
|
||||
MmTotalCommitLimit = 2 * _1GB;
|
||||
MmTotalCommitLimit = (2 * _1GB) >> PAGE_SHIFT;
|
||||
MmTotalCommitLimitMaximum = MmTotalCommitLimit;
|
||||
|
||||
/* Has the allocation fragment been setup? */
|
||||
|
|
Loading…
Reference in a new issue