Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
criu
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhul
criu
Commits
8f5b093c
Commit
8f5b093c
authored
Apr 16, 2013
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mem-snap: Add comment about mem_snap_ctx object
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
febdd8a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
mem.c
mem.c
+10
-0
No files found.
mem.c
View file @
8f5b093c
...
@@ -20,6 +20,16 @@
...
@@ -20,6 +20,16 @@
#define PME_FILE (1ULL << 61)
#define PME_FILE (1ULL << 61)
#define PME_SOFT_DIRTY (1Ull << 55)
#define PME_SOFT_DIRTY (1Ull << 55)
/*
* On dump we suck in the whole parent pagemap. Then, when observing
* a page with soft-dirty bit cleared (i.e. -- not modified) we check
* this map for this page presense.
*
* Since we scan the address space from vaddr 0 to 0xF..F, we can do
* linear search in parent pagemap and the rover variables helps us
* do it.
*/
struct
mem_snap_ctx
{
struct
mem_snap_ctx
{
unsigned
long
nr_iovs
;
unsigned
long
nr_iovs
;
struct
iovec
*
iovs
;
struct
iovec
*
iovs
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment