[CRIU] [rfc 2/4] arch: Add arch_free_thread_info helper

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


This one does free thread data specific to architecture
(registers and such).

The benefit is that we need a general core-alloc/free
helpers bound to process tree item, thus we will call
arch_ helpers from pstree.c code in further patches.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 arch/arm/crtools.c          | 22 ++++++++++++++--------
 arch/arm/include/asm/dump.h |  1 +
 arch/x86/crtools.c          | 32 +++++++++++++++++++-------------
 arch/x86/include/asm/dump.h |  1 +
 4 files changed, 35 insertions(+), 21 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-arch-Add-arch_free_thread_info-helper.patch
Type: text/x-patch
Size: 3255 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130220/5651237e/attachment.bin>


More information about the CRIU mailing list