mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-08-02 23:03:09 +00:00
lazy-pages: add comments about different addresses in lazy_iov and lp_req
Both lazy_iov and lp_req have two fields for address/start: the run-time address that tracks remaps, and the "dump time" address, which is required for pagemap accesses. Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Acked-by: Pavel Emelyanov <xemul@virtuozzo.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
parent
8eae2ee844
commit
985d154ea6
1 changed files with 4 additions and 4 deletions
|
|
@ -61,16 +61,16 @@ static mutex_t *lazy_sock_mutex;
|
|||
|
||||
struct lazy_iov {
|
||||
struct list_head l;
|
||||
unsigned long base;
|
||||
unsigned long img_base;
|
||||
unsigned long base; /* run-time start address, tracks remaps */
|
||||
unsigned long img_base; /* start address at the dump time */
|
||||
unsigned long len;
|
||||
};
|
||||
|
||||
struct lazy_pages_info;
|
||||
|
||||
struct lp_req {
|
||||
unsigned long addr;
|
||||
unsigned long img_addr;
|
||||
unsigned long addr; /* actual #PF (or background) destination */
|
||||
unsigned long img_addr; /* the corresponding address at the dump time */
|
||||
struct list_head l;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue