Created
December 4, 2016 17:08
-
-
Save ronin13/59c6ffab786db7ef9e54db4fb29b4992 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/criu/mem.c b/criu/mem.c | |
index 2258605..8c46265 100644 | |
--- a/criu/mem.c | |
+++ b/criu/mem.c | |
@@ -112,6 +112,9 @@ bool should_dump_page(VmaEntry *vmae, u64 pme) | |
if (pme & (PME_PRESENT | PME_SWAP)) | |
return true; | |
+ if (vmae->madv & (1ul << MADV_DONTDUMP)) | |
+ return false; | |
+ | |
return false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment