[CRIU] [PATCH 15/16] parasite: Move bootstrap code into
parasite-head.S
Cyrill Gorcunov
gorcunov at openvz.org
Fri Mar 30 18:46:33 EDT 2012
Inline assembly is very convenient if a couple of
instructions is used but when it grows better to
move it out of wrapper C code and write in plain
assembly, after all we need a very precise control
in bootstrap code.
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
Makefile.pie | 14 +++++++++++---
include/linkage.h | 28 +++++++++++++++++++++++++++-
include/parasite.h | 14 +++++++++-----
parasite-head.S | 28 ++++++++++++++++++++++++++++
parasite.c | 35 +----------------------------------
5 files changed, 76 insertions(+), 43 deletions(-)
create mode 100644 parasite-head.S
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0015-parasite-Move-bootstrap-code-into-parasite-head.S.patch
Type: text/x-patch
Size: 5290 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120331/70948bb2/0015-parasite-Move-bootstrap-code-into-parasite-head.S.bin
More information about the CRIU
mailing list