diff options
author | Laurent Dufour <[email protected]> | 2015-12-03 11:29:19 +0100 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2015-12-17 22:40:58 +1100 |
commit | 7207f43665b83ed7881c5111bc45475ccf5ce48b (patch) | |
tree | 5107de607cd7b08392c7d0ab1a28741464fe7a5d /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 2613265cb5b07a46bc01eb67202874136efd7049 (diff) |
powerpc/mm: Add page soft dirty tracking
User space checkpoint and restart tool (CRIU) needs the page's change
to be soft tracked. This allows to do a pre checkpoint and then dump
only touched pages.
This is done by using a newly assigned PTE bit (_PAGE_SOFT_DIRTY) when
the page is backed in memory, and a new _PAGE_SWP_SOFT_DIRTY bit when
the page is swapped out.
To introduce a new PTE _PAGE_SOFT_DIRTY bit value common to hash 4k
and hash 64k pte, the bits already defined in hash-*4k.h should be
shifted left by one.
The _PAGE_SWP_SOFT_DIRTY bit is dynamically put after the swap type in
the swap pte. A check is added to ensure that the bit is not
overwritten by _PAGE_HPTEFLAGS.
Signed-off-by: Laurent Dufour <[email protected]>
CC: Aneesh Kumar K.V <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions