[CRIU] [PATCH 02/13] parasite: Rework init/fini to reserve/free space for per-thread data

Cyrill Gorcunov gorcunov at openvz.org
Tue Nov 6 11:53:09 EST 2012


The per-thread information requires own space in parasite data.
In particular we will keep the blocked signals bound to thread
pids.

For this sake the caller need to provide the parasite how many
threads will be used to calculate space.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 cr-dump.c                  |    2 +-
 include/parasite-syscall.h |    1 +
 include/parasite.h         |    3 +++
 parasite-syscall.c         |    8 +++++---
 parasite.c                 |   26 ++++++++++++++++++++++++++
 5 files changed, 36 insertions(+), 4 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-parasite-Rework-init-fini-to-reserve-free-space-for-.patch
Type: text/x-patch
Size: 4178 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20121106/4300e90b/attachment-0001.bin>


More information about the CRIU mailing list