mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 10:01:43 +00:00
[NEWCC]
Prevent us from recording an impossible dirty swap entry in the section page table. svn path=/trunk/; revision=56023
This commit is contained in:
parent
ea50be62a0
commit
1490d48263
1 changed files with 1 additions and 0 deletions
1
reactos/ntoskrnl/cache/section/sptab.c
vendored
1
reactos/ntoskrnl/cache/section/sptab.c
vendored
|
@ -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 =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue