Conversation

This is a long shot... but is there any way how to allocate such non-paged kernel memory, that MiScrubMemoryWorker (called by NtSetSystemInformation(SystemScrubPhysicalMemoryInformation, ...) won't touch it?
5
8
In short: when MiScrubMemoryWorker is triggered, it (roughly) unmaps some PTE, calls RDTSC and then maps the PTE again. Now when you have "blue pill"-like hypervisor and enable RDTSC trapping, it might crash, because some of the HV page is unmapped.
1
2
going semi-type-1 when runtime is neither hacky nor simple but does work. I'm not sure how I should call this though, type 1.5? On the other hand, have you tried MmAllocateIndependentPages yet?