[CRIU] [PATCH 00/12] parasite daemon mode, v2

Cyrill Gorcunov gorcunov at openvz.org
Thu Feb 28 10:35:45 EST 2013


Hi there, here is a series implementing parasite daemon mode.
Please take a look, thanks!

p.s.: Pavel, i changed "Bind CoreEntry to pstree" if i still
missing your point, could you please point me what you expected
to see there in pseudocode at least, because 1) we can't get rid
of registers copy used in parasite-ctl 2) i tried to allocate
cores in lazy fashion right at moment we're dumping every task.

Cyrill Gorcunov (12):
  pstree: Bind CoreEntry to pstree and fill it with registers early
  dump: Dump threads right before parasite cure
  x86: syscalls -- Add sys_sendto/sys_recvfrom helpers
  x86: parasite -- Add call_daemon_thread and asm_trap helpers
  parasite-syscall: Add "trap" postfix to parasite execute functions
  parasite: Create a control socket
  parasite: Extend tid_state_s structure
  parasite: Initialize tid_state_s::id on parasite bootstrap
  parasite: Use thread state hash for fast lookup over thread state areas
  parasite: Prepare structures for daemon mode
  parasite: Initialize @cmd/ack in init_thread
  parasite: Switch parasite to daemon mode

 arch/arm/crtools.c              |  14 +-
 arch/arm/include/asm/dump.h     |   2 +-
 arch/x86/crtools.c              |  14 +-
 arch/x86/include/asm/dump.h     |   2 +-
 arch/x86/include/asm/parasite.h |  26 ++++
 arch/x86/syscall-x86-64.def     |   2 +
 cr-dump.c                       | 131 +++++++---------
 include/parasite-syscall.h      |   3 +-
 include/parasite.h              |  31 ++++
 include/pstree.h                |   5 +
 parasite-syscall.c              | 300 ++++++++++++++++++++++++++++++------
 pie/parasite.c                  | 333 ++++++++++++++++++++++++++++++++++------
 pstree.c                        |  70 +++++++++
 13 files changed, 733 insertions(+), 200 deletions(-)

-- 
1.8.1.2


More information about the CRIU mailing list