[CRIU] [PATCH cr 8/9] dump: dump zombies from another PID namespace
Andrey Vagin
avagin at openvz.org
Tue Sep 4 09:10:32 EDT 2012
The problem is to get a virtual pid for zombies.
This code gets two list of children from current and target pidns.
Then it removes alive task from the second list and dumps remaining zombies.
A procfs from a target pidns is needed for dumping zombies,
crtools gets it from parasite code.
Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
cr-dump.c | 101 ++++++++++++++++++++++++++++++++++++++++++++++++++-------
test/zdtm.sh | 4 +-
2 files changed, 90 insertions(+), 15 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-dump-dump-zombies-from-another-PID-namespace.patch
Type: text/x-patch
Size: 3309 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120904/e771dfaa/0008-dump-dump-zombies-from-another-PID-namespace.bin
More information about the CRIU
mailing list