<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 02/28/2013 07:35 PM, Cyrill Gorcunov
wrote:<br>
</div>
<blockquote
cite="mid:1362065757-25626-1-git-send-email-gorcunov@openvz.org"
type="cite">
<pre wrap="">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(-)
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
CRIU mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CRIU@openvz.org">CRIU@openvz.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openvz.org/mailman/listinfo/criu">https://lists.openvz.org/mailman/listinfo/criu</a>
</pre>
</blockquote>
<br>
The patchset is<br>
Tested-by: Alexander Kartashov <a class="moz-txt-link-rfc2396E" href="mailto:alekskartashov@parallels.com"><alekskartashov@parallels.com></a><br>
<br>
The fixes for ARM is to be submitted when the patchset is applied.<br>
<pre class="moz-signature" cols="72">
--
Sincerely yours,
Alexander Kartashov
Intern
Core team
<a class="moz-txt-link-abbreviated" href="http://www.parallels.com">www.parallels.com</a>
Skype: aleksandr.kartashov
Email: <a class="moz-txt-link-abbreviated" href="mailto:alekskartashov@parallels.com">alekskartashov@parallels.com</a></pre>
</body>
</html>