mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[NTOSKRNL/MM]
- initialize VmWorkingSet pointer for system process. Should fix random crashes when paging out. svn path=/trunk/; revision=56012
This commit is contained in:
@@ -1136,6 +1136,9 @@ MmInitializeHandBuiltProcess(IN PEPROCESS Process,
|
||||
ASSERT(Process->VadRoot.NumberGenericTableElements == 0);
|
||||
Process->VadRoot.BalancedRoot.u1.Parent = &Process->VadRoot.BalancedRoot;
|
||||
|
||||
/* Use idle process Working set */
|
||||
Process->Vm.VmWorkingSetList = PsGetCurrentProcess()->Vm.VmWorkingSetList;
|
||||
|
||||
/* Done */
|
||||
Process->HasAddressSpace = TRUE;//??
|
||||
return STATUS_SUCCESS;
|
||||
|
||||
Reference in New Issue
Block a user