[CRIU] [PATCH 1/6] dump: Rework thread parasite dumping procedure
Cyrill Gorcunov
gorcunov at openvz.org
Wed Oct 31 06:44:06 EDT 2012
- rename parasite_dump_tid_info to parasite_dump_thread_info,
we will extend this structure to keep not only tid related
data
- make parasite_dump_thread_seized to work with parasite_dump_thread_info
directly, since there is no need to copy shared memory to and from
- rename PARASITE_CMD_DUMP_TID_ADDR to PARASITE_CMD_DUMP_THREAD_INFO,
as it will be extended as well
- all this allows to simplify parasite_dump_thread_seized code
The code poking is mostly because we need to save at least blocked
signals mask at first, then the routine will be extended to handle
more thread specific data which is not yet even addressed.
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
cr-dump.c | 11 ++++++-----
include/parasite-syscall.h | 4 ++--
include/parasite.h | 4 ++--
parasite-syscall.c | 15 +++++----------
parasite.c | 6 +++---
5 files changed, 18 insertions(+), 22 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dump-Rework-thread-parasite-dumping-procedure.patch
Type: text/x-patch
Size: 4105 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20121031/89667b91/0001-dump-Rework-thread-parasite-dumping-procedure.bin
More information about the CRIU
mailing list