v1 2026-09-25

tmpfs 文件保留支持 · v1

允许 LUO 保留 tmpfs 挂载 FD,再按文件保留,文件依赖挂载 token,以便无盘主机 live update 恢复 VMM 包。

原始补丁链接

子 Patch(6)

1/6
liveupdate: luo_file: look up outgoing tokens by id
[liveupdate: luo_file: look up outgoing tokens by id] From: “Pratyush Yadav (Google)” pratyush@kernel.org liveupdate_get_token_outgoing() is used to look up tokens of dependencies. It does the sear
2/6
shmem: add tmpfs_create_mount() to create tmpfs mounts internally
[shmem: add tmpfs_create_mount() to create tmpfs mounts internally] From: “Pratyush Yadav (Google)” pratyush@kernel.org Upcoming commits will add support for preserving a tmpfs mount via LUO. While
3/6
fs/namespace: Add vfs_open_detached_mount()
[fs/namespace: Add vfs_open_detached_mount()] From: “Pratyush Yadav (Google)” pratyush@kernel.org A mount created in the kernel by fc_mount() and friends has mnt_ns == NULL, and userspace cannot at
4/6
mm/memfd_luo: allow preserving a tmpfs mount
[mm/memfd_luo: allow preserving a tmpfs mount] From: “Pratyush Yadav (Google)” pratyush@kernel.org A memfd can be preserved across a live update, but it has no name, so anything that needs a filesy
5/6
mm/memfd_luo: allow preserving a tmpfs file
[mm/memfd_luo: allow preserving a tmpfs file] From: “Pratyush Yadav (Google)” pratyush@kernel.org A memfd can be preserved across a live update, but it has no name, so anything that needs a filesys
6/6
selftests/liveupdate: add tmpfs kexec test
[selftests/liveupdate: add tmpfs kexec test] From: “Pratyush Yadav (Google)” pratyush@kernel.org Add a two-stage kexec test for tmpfs preservation, in the same shape as luo_kexec_simple. The first