[CRIU] [PATCH 00/12] parasite daemon mode, v2
Alexander Kartashov
alekskartashov at parallels.com
Mon Mar 4 01:07:02 EST 2013
On 02/28/2013 07:35 PM, Cyrill Gorcunov wrote:
> 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(-)
>
>
>
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
The patchset is
Tested-by: Alexander Kartashov <alekskartashov at parallels.com>
The fixes for ARM is to be submitted when the patchset is applied.
--
Sincerely yours,
Alexander Kartashov
Intern
Core team
www.parallels.com
Skype: aleksandr.kartashov
Email: alekskartashov at parallels.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130304/535eb31e/attachment.html>
More information about the CRIU
mailing list