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

Kirill Tkhai ktkhai at virtuozzo.com
Mon Mar 13 06:33:59 PDT 2017


On 28.02.2017 18:05, 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(-)
> 

Reviewed-by: Kirill Tkhai <ktkhai at virtuozzo.com>


More information about the CRIU mailing list