Author: mbosma
Date: Mon Apr 24 18:38:08 2006
New Revision: 21729
URL:
http://svn.reactos.ru/svn/reactos?rev=21729&view=rev
Log:
Free pages with consumer MC_CACHE. Fixes firefox bug.
Modified:
branches/cache_manager_rewrite/reactos/ntoskrnl/mm/section.c
Modified: branches/cache_manager_rewrite/reactos/ntoskrnl/mm/section.c
URL:
http://svn.reactos.ru/svn/reactos/branches/cache_manager_rewrite/reactos/nt…
==============================================================================
--- branches/cache_manager_rewrite/reactos/ntoskrnl/mm/section.c (original)
+++ branches/cache_manager_rewrite/reactos/ntoskrnl/mm/section.c Mon Apr 24 18:38:08 2006
@@ -357,7 +357,7 @@
if (Mdl->MdlFlags & MDL_MAPPED_TO_SYSTEM_VA)
MmUnmapLockedPages(Mdl->MappedSystemVa, Mdl);
}
- MmReleasePageMemoryConsumer(MC_USER, PFN_FROM_SSE(Entry));
+ MmReleasePageMemoryConsumer(MC_CACHE, PFN_FROM_SSE(Entry));
}
}
Offset += PAGE_SIZE;
@@ -5496,7 +5496,7 @@
{
MmSetPageEntrySectionSegment(Segment, Offset, 0);
DPRINT("%x %x\n", Offset, Pfn);
- MmReleasePageMemoryConsumer(MC_USER, Pfn);
+ MmReleasePageMemoryConsumer(MC_CACHE, Pfn);
}
}
}