[Talk Proposal] Exporting Mountinfo for Unmounted Mounts for CRIU

62 views
Skip to first unread message

Bhavik Sachdev

unread,
Mar 24, 2026, 7:35:36 AM (8 days ago) Mar 24
to kernel-meet...@googlegroups.com
Abstract

CRIU (Checkpoint/Restore in Userspace) allows you to stop (checkpoint)
an application/container and save its state to disk. Using that state,
you can restart (restore) that application/container (even on a
different machine).

In order for CRIU to correctly checkpoint/restore a process (or
container) it needs to dump all file descriptors that the process has
open. Thus, it also needs to dump information about all the mounts these
fds are on.
However, if the fd is on a mount that has been "unmounted" (umount2(mnt,
MNT_DETACH)). We can't get information about the mount from
/proc/$pid/mountinfo. I (with a lot of help from a lot of people) worked
on worked on adding a new flag STATMOUNT_BY_FD to the statmount()
syscall to export mount info for unmounted mounts. It is a part of the
upcoming v7.0 kernel release [1].

I would like to talk about the design considerations and challenges we
faced when working on both the kernel and CRIU side.

Outline of Key Points

* What is CRIU?
* Challenges CRIU faces to get information it needs from the kernel
* Problem Statement
* Other Approaches Considered
* STATMOUNT_BY_FD implementation considerations
* CRIU implementation details
* Future Work

Duration of this Talk

Lightining Talk (I should be able to cover everything in 10 minutes)
I gave a version of this talk at the Checkpoint/Restore microconference
at LPC last year [2].

Short Bio

I am a Software Engineering Intern at Cedana and a final year student at
IIIT Naya Raipur. I have been working with the CRIU project on/off for
the past two years mostly as a part of Google Summer of Code 2024 and
2025. I am an inexperienced kernel dev and have worked on the kernel to
add features required by CRIU. This talk is about work I did as a part
of Google Summer of Code 2025.

[1]: https://lwn.net/Articles/1057769/
[2]: https://lpc.events/event/19/contributions/2240/

U Das

unread,
Mar 24, 2026, 3:51:57 PM (8 days ago) Mar 24
to Kernel Meetup Bangalore
+1

I Viswanath

unread,
Mar 24, 2026, 11:45:24 PM (7 days ago) Mar 24
to U Das, Kernel Meetup Bangalore
+1
> --
> You received this message because you are subscribed to the Google Groups "Kernel Meetup Bangalore" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to kernel-meetup-ban...@googlegroups.com.
> To view this discussion, visit https://groups.google.com/d/msgid/kernel-meetup-bangalore/0f594e3e-8308-41f7-a783-f026255ce2b8n%40googlegroups.com.

Suchit Karunakaran

unread,
Mar 24, 2026, 11:52:16 PM (7 days ago) Mar 24
to I Viswanath, U Das, Kernel Meetup Bangalore

CoderDomain Opt

unread,
Mar 31, 2026, 2:14:45 AM (yesterday) Mar 31
to Suchit Karunakaran, I Viswanath, U Das, Kernel Meetup Bangalore
Reply all
Reply to author
Forward
0 new messages