[PATCH 05/11] checkpoint: allow VM_{IO,RESERVED,PFNMAP} mappings

Nathan Lynch ntl at pobox.com
Wed Oct 20 11:56:40 PDT 2010


This is necessary for checkpoint/restart of BSR device (and likely
hpet and other timer device) mappings.

Signed-off-by: Nathan Lynch <ntl at pobox.com>
---
 include/linux/checkpoint.h |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/include/linux/checkpoint.h b/include/linux/checkpoint.h
index a02f27a..df0a9ed 100644
--- a/include/linux/checkpoint.h
+++ b/include/linux/checkpoint.h
@@ -313,12 +313,9 @@ extern int restore_memory_contents(struct ckpt_ctx *ctx, struct inode *inode);
 #define CKPT_VMA_NOT_SUPPORTED (			\
 		VM_HUGETLB |				\
 		VM_INSERTPAGE |				\
-		VM_IO |					\
 		VM_MAPPED_COPY |			\
 		VM_MIXEDMAP |				\
 		VM_NONLINEAR |				\
-		VM_PFNMAP |				\
-		VM_RESERVED |				\
 		VM_SAO |				\
 		0)
 
-- 
1.7.2.2



More information about the Containers mailing list