Add randomised start to pagemap layout

The pagemap contains a lot of important data.  This commit makes the
checked mode overallocate, and then start the pagemap at a random
offset within this range.
This commit is contained in:
Matthew Parkinson
2021-07-19 11:25:42 +01:00
committed by Matthew Parkinson
parent 5d0ae71423
commit 8a8669f957
2 changed files with 27 additions and 4 deletions

View File

@@ -1,3 +1,5 @@
#pragma once
#include "../ds/address.h"
#include "../pal/pal.h"