https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7f0ad923d2931bcaec6aa2295ba38b5c133675b4
commit 7f0ad923d2931bcaec6aa2295ba38b5c133675b4 Author: Pierre Schweitzer <[email protected]> AuthorDate: Thu Aug 16 18:40:23 2018 +0200 Commit: Pierre Schweitzer <[email protected]> CommitDate: Thu Aug 16 18:40:23 2018 +0200 [NTOSKRNL] MmTotalCommitLimit and MmTotalCommitLimitMaximum are in pages, not bytes --- ntoskrnl/mm/ARM3/mminit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntoskrnl/mm/ARM3/mminit.c b/ntoskrnl/mm/ARM3/mminit.c index e8cf1dc001..217aa6569d 100644 --- a/ntoskrnl/mm/ARM3/mminit.c +++ b/ntoskrnl/mm/ARM3/mminit.c @@ -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? */
