[CRIU] [PATCH cr 1/2] parasite: transfer pid and parasite_ctl as two separate arguments

Andrey Vagin avagin at openvz.org
Thu Feb 16 15:46:59 EST 2012


The next patch will use parasite for threads.
parasite_ctl is the same for all threads, but pid is own for each one.

I am not sure, that it's a good decision. We can change pid in
parasite_ctl to avoid add a new argument in many functions, but
it looks ugly.

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 cr-dump.c                  |   10 ++--
 include/parasite-syscall.h |   11 ++---
 parasite-syscall.c         |  105 ++++++++++++++++++++++----------------------
 3 files changed, 62 insertions(+), 64 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-parasite-transfer-pid-and-parasite_ctl-as-two-separa.patch
Type: text/x-patch
Size: 15094 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120216/51058eb5/0001-parasite-transfer-pid-and-parasite_ctl-as-two-separa.bin


More information about the CRIU mailing list