[ros-diffs] [cgutman] 54532: [NTOSKRNL] - Don't remove pages with references left from the user PFN bitmap - Patch by Nikolay Myltsev

cgutman at svn.reactos.org cgutman at svn.reactos.org
Tue Nov 29 06:51:39 UTC 2011


Author: cgutman
Date: Tue Nov 29 06:51:37 2011
New Revision: 54532

URL: http://svn.reactos.org/svn/reactos?rev=54532&view=rev
Log:
[NTOSKRNL]
- Don't remove pages with references left from the user PFN bitmap
- Patch by Nikolay Myltsev

Modified:
    trunk/reactos/ntoskrnl/mm/balance.c

Modified: trunk/reactos/ntoskrnl/mm/balance.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/balance.c?rev=54532&r1=54531&r2=54532&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/mm/balance.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/balance.c [iso-8859-1] Tue Nov 29 06:51:37 2011
@@ -130,7 +130,6 @@
    else
    {
       KeReleaseSpinLock(&AllocationListLock, OldIrql);
-      if(Consumer == MC_USER) MmRemoveLRUUserPage(Page);
       OldIrql = KeAcquireQueuedSpinLock(LockQueuePfnLock);
       MmDereferencePage(Page);
       KeReleaseQueuedSpinLock(LockQueuePfnLock, OldIrql);




More information about the Ros-diffs mailing list