• Pavel Emelyanov's avatar
    cg: Dump cgroups tasks live in · 1ba9d2ca
    Pavel Emelyanov authored
    Each task points to a single ID of cgroup-set it lives in. This
    is done so to save some space in the image, as tasks likely
    live in the same set of cgroups.
    
    Other than this we keep track of what cgroup set we dump the
    subtree from. If it happens, that root task lives in the same
    cgroup set as criu does, we don't allow for any other sub-cgroups
    and make restore (next patch) much simpler and faster.
    Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
    1ba9d2ca
cr-dump.c 38.4 KB