[CRIU] [PATCH 0/8] don't use wrong pagemap (from other task) on pid reuse
Pavel Tikhomirov
ptikhomirov at virtuozzo.com
Fri Feb 9 19:06:37 MSK 2018
https://jira.sw.ru/browse/PSBM-67502
Pavel Tikhomirov (8):
parse: add a helper to obtain an uptime
stats: save uptime to know when dump had happened
stats: add a helper to get stats of parent pre-dump
memory: don't use parent memdump if detected possible pid reuse
zdtm/lib/arch: add atomic_cmpxchg
zdtm/lib: add futex_cmpxchg and futex_cmpxchg_and_wake
zdtm/lib: add test_waitpre so that test knows about predump iters
zdtm: check that pid-reuse does not break iterative memory dump
criu/cr-dump.c | 4 +
criu/include/proc_parse.h | 1 +
criu/include/stats.h | 4 +
criu/mem.c | 37 +++++++-
criu/proc_parse.c | 24 +++++
criu/stats.c | 53 +++++++++++
images/stats.proto | 2 +
test/zdtm.py | 8 ++
test/zdtm/lib/arch/aarch64/include/asm/atomic.h | 22 +++++
test/zdtm/lib/arch/arm/include/asm/atomic.h | 26 ++++++
test/zdtm/lib/arch/arm/include/asm/processor.h | 28 ++++++
test/zdtm/lib/arch/ppc64/include/asm/atomic.h | 4 +
test/zdtm/lib/arch/ppc64/include/asm/cmpxchg.h | 96 +++++++++++++++++++
test/zdtm/lib/arch/s390/include/asm/atomic.h | 9 ++
test/zdtm/lib/arch/x86/include/asm/atomic.h | 7 ++
test/zdtm/lib/arch/x86/include/asm/cmpxchg.h | 107 +++++++++++++++++++++
test/zdtm/lib/lock.h | 15 +++
test/zdtm/lib/ns.c | 46 +++++----
test/zdtm/lib/ns.h | 6 ++
test/zdtm/lib/test.c | 30 +++++-
test/zdtm/lib/zdtmtst.h | 1 +
test/zdtm/transition/Makefile | 1 +
test/zdtm/transition/pid_reuse.c | 118 ++++++++++++++++++++++++
test/zdtm/transition/pid_reuse.desc | 1 +
24 files changed, 626 insertions(+), 24 deletions(-)
create mode 100644 test/zdtm/lib/arch/arm/include/asm/processor.h
create mode 100644 test/zdtm/lib/arch/ppc64/include/asm/cmpxchg.h
create mode 100644 test/zdtm/lib/arch/x86/include/asm/cmpxchg.h
create mode 100644 test/zdtm/transition/pid_reuse.c
create mode 100644 test/zdtm/transition/pid_reuse.desc
--
2.14.3
More information about the CRIU
mailing list