Skip to content

Commit

Permalink
kerndat: check_pagemap: reword retried case explanation
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Mirosław <emmir@google.com>
  • Loading branch information
osctobe committed Aug 28, 2023
1 parent 200cdcd commit e5f8eae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions criu/kerndat.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ static int check_pagemap(void)
return -1;
}
/* The page can be swapped out by the time the read occurs,
* in which case the rest of the bits are a swap offset,
* and can't be used to determine whether PFNs are visible.
* in which case the rest of the bits are a swap type + offset
* (which could be zero even if not hidden).
* Retry if this happens. */
if (pfn & PME_PRESENT)
break;
Expand Down

0 comments on commit e5f8eae

Please sign in to comment.