[CRIU] [RFC PATCH 09/16] criu: lazy_pages: drop struct uffd_pages
Mike Rapoport
rppt at linux.vnet.ibm.com
Tue Sep 27 06:42:10 PDT 2016
Signed-off-by: Mike Rapoport <rppt at linux.vnet.ibm.com>
---
criu/uffd.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/criu/uffd.c b/criu/uffd.c
index c0c1349..5910226 100644
--- a/criu/uffd.c
+++ b/criu/uffd.c
@@ -54,7 +54,6 @@ struct lazy_pages_info {
int pid;
int uffd;
- struct list_head pages;
struct list_head iovs;
struct page_read pr;
@@ -79,7 +78,6 @@ static struct lazy_pages_info *lpi_init(void)
}
memset(lpi, 0, sizeof(*lpi));
- INIT_LIST_HEAD(&lpi->pages);
INIT_LIST_HEAD(&lpi->iovs);
INIT_HLIST_NODE(&lpi->hash);
@@ -495,14 +493,6 @@ static int get_page(struct lazy_pages_info *lpi, unsigned long addr, void *dest)
return 1;
}
-#define UFFD_FLAG_SENT 0x1
-
-struct uffd_pages_struct {
- struct list_head list;
- unsigned long addr;
- int flags;
-};
-
static int uffd_copy_page(struct lazy_pages_info *lpi, __u64 address,
void *dest)
{
--
1.9.1
More information about the CRIU
mailing list