[CRIU] [PATCH 06/19] pstree: Bind CoreEntry to pstree item
Cyrill Gorcunov
gorcunov at openvz.org
Tue Feb 26 08:08:48 EST 2013
In future we will need to gather task registers pretty early which
implies preliminary allocation of the CoreEntry entries. So we bind
CoreEntry array to pstree item and allocate/free it with pstree
lifetime.
(This is because when parasite daemon mode will be implemented we
no longer able to fetch registers, since task will be running in
daemon code).
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
cr-dump.c | 94 ++++++++++++++++----------------------------------------
include/pstree.h | 5 ++-
pstree.c | 85 +++++++++++++++++++++++++++++++++++++++++++++++++-
3 files changed, 115 insertions(+), 69 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-pstree-Bind-CoreEntry-to-pstree-item.patch
Type: text/x-patch
Size: 8378 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130226/f21b312a/attachment-0001.bin>
More information about the CRIU
mailing list