Prevent us from recording an impossible dirty swap entry in the section page table.

svn path=/trunk/; revision=56023
This commit is contained in:
Art Yerkes 2012-03-05 01:52:47 +00:00
parent ea50be62a0
commit 1490d48263

View file

@ -152,6 +152,7 @@ _MmSetPageEntrySectionSegment
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 =