[CRIU] [RFC PATCH 06/21] zdtm: reuse criu's compiler.h
Cyrill Gorcunov
gorcunov at gmail.com
Wed Mar 9 03:37:04 PST 2016
On Wed, Mar 09, 2016 at 02:24:14PM +0300, Ivan Shapovalov wrote:
> > Ideally we don't. We've been planning to move zdtm to
> > nmk engine and reuse some headers from criu itself
> > since they are shipped together anyway. But when it
> > will be done... I don't know yet.
>
> Hmm... did not understand. So we are planning to reuse many criu/
> headers in the future, but reusing just compiler.h for the time being
> is not acceptable?
We either should use as much as possible including nmk engine,
atomics and such in zdtm in one pass or should not intersect
at all, otherwise it will be a mess -- some headers from
criu, something from zdtm internals. I think the best way
is to keep the code separated for a while (and use own
compiler.h copy, even via simple symlink) but then merge
code together.
Though I would wait for Andrew's feedback. Andrew?
More information about the CRIU
mailing list