Author: arty
Date: Mon Mar 5 01:52:47 2012
New Revision: 56023
URL: http://svn.reactos.org/svn/reactos?rev=56023&view=rev
Log:
[NEWCC]
Prevent us from recording an impossible dirty swap entry in the section page
table.
Modified:
trunk/reactos/ntoskrnl/cache/section/sptab.c
Modified: trunk/reactos/ntoskrnl/cache/section/sptab.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/cache/section/sptab.c?rev=56023&r1=56022&r2=56023&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/cache/section/sptab.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/cache/section/sptab.c [iso-8859-1] Mon Mar 5
01:52:47 2012
@@ -152,6 +152,7 @@
ULONG PageIndex, OldEntry;
PCACHE_SECTION_PAGE_TABLE PageTable;
ASSERT(Segment->Locked);
+ ASSERT(!IS_SWAP_FROM_SSE(Entry) || !IS_DIRTY_SSE(Entry));
if (Entry && !IS_SWAP_FROM_SSE(Entry))
MmGetRmapListHeadPage(PFN_FROM_SSE(Entry));
PageTable =