2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

mm: Split mm parts from task core image

The mm_xxx bits are per-mm_struct, not per-task_struct in kernel.
Thus, when we support CLONE_VM we'd better have these bits in a
separate image file.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov
2012-04-09 14:51:37 +04:00
parent de66a5d04b
commit fe70efad29
8 changed files with 120 additions and 62 deletions

View File

@@ -68,6 +68,12 @@ struct cr_fd_desc_tmpl fdset_template[CR_FD_MAX] = {
.show = show_core,
},
[CR_FD_MM] = {
.fmt = FMT_FNAME_MM,
.magic = MM_MAGIC,
.show = show_mm,
},
[CR_FD_VMAS] = {
.fmt = FMT_FNAME_VMAS,
.magic = VMAS_MAGIC,