[CRIU] [rfc 0/4] Parasite as a deamon preparatory patches

Cyrill Gorcunov gorcunov at openvz.org
Wed Feb 20 10:22:19 EST 2013


Hi guys, parasite as a daemon mode will require
CoreEntries to be allocated early and registers
to be fetched once after the tasks are sized, so
here are patches which prepare code for further
modifications.

I just wanna share it as early as possible to get
yours opinions.

Cyrill Gorcunov (4):
  arch: Sanitize headers inclusion in arch/x86/crtools.c
  arch: Add arch_free_thread_info helper
  pstree: Add general core_entry_free helper
  pstree: Allocate core entries in pstree item and fetch regs earlier

 arch/arm/crtools.c          |  19 +++----
 arch/arm/include/asm/dump.h |   2 +-
 arch/x86/crtools.c          |  43 ++++++++--------
 arch/x86/include/asm/dump.h |   2 +-
 cr-dump.c                   | 120 +++++++++++++++++---------------------------
 include/pstree.h            |   5 ++
 pstree.c                    |  95 +++++++++++++++++++++++++++++++++++
 7 files changed, 175 insertions(+), 111 deletions(-)

-- 
1.8.1.2


More information about the CRIU mailing list