[CRIU] [RFC 00/10] epoll: Start using new kcmp operation to find targets

Andrey Vagin avagin at virtuozzo.com
Tue Mar 7 10:42:09 PST 2017


Kirill, could you revieq this series? Thanks!

On Tue, Feb 28, 2017 at 06:05:39PM +0300, Cyrill Gorcunov wrote:
> Note:
> 
>  - the kernel patches are not yet merged and v2 is upcoming, still the
>    series work fine with old kernels
> 
>  - on inaccessible targers we simply drop them for now, proper restore
>    need more efforts and will be done later
> 
> Cyrill Gorcunov (10):
>   kcmp: Cleanup sources
>   kcmp: Beautify kcmp-ids.h
>   kcmp: Drop empty line at EOF
>   files: Move make_gen_id into separate helper
>   proc-parse: epoll -- Add primary hash generation
>   kcmp: Add epoll definitions
>   kcmp: files -- Add fd_kid_epoll_lookup helper
>   epoll: Use kcmp for targets if available
>   epoll: Ignore inaccessible targets
>   test: eventfs00 -- Extend to test duped fd
> 
>  criu/cr-dump.c               |   9 +++
>  criu/eventpoll.c             | 168 ++++++++++++++++++++++++++++++++++++-------
>  criu/file-ids.c              |  12 ++++
>  criu/files.c                 |  17 +----
>  criu/include/eventpoll.h     |   2 +
>  criu/include/fdinfo.h        |   3 +
>  criu/include/file-ids.h      |  20 +++++-
>  criu/include/kcmp-ids.h      |  33 +++++----
>  criu/include/kcmp.h          |  10 +++
>  criu/kcmp-ids.c              |  63 ++++++++++++++--
>  criu/proc_parse.c            |  24 +++++--
>  test/zdtm/static/eventfs00.c |  20 ++++--
>  12 files changed, 316 insertions(+), 65 deletions(-)
> 
> -- 
> 2.7.4
> 


More information about the CRIU mailing list