From: Askar Safin <safinaskar@gmail.com>
To: brauner@kernel.org
Cc: jack@suse.cz, linux-fsdevel@vger.kernel.org,
torvalds@linux-foundation.org, viro@zeniv.linux.org.uk
Subject: Re: [PATCH RFC 0/3] move_mount: expand MOVE_MOUNT_BENEATH
Date: Tue, 24 Feb 2026 04:40:21 +0300 [thread overview]
Message-ID: <20260224014021.1231200-1-safinaskar@gmail.com> (raw)
In-Reply-To: <20260224-work-mount-beneath-rootfs-v1-0-8c58bf08488f@kernel.org>
Christian Brauner <brauner@kernel.org>:
> The traditional approach to switching the rootfs involves pivot_root(2)
> or a chroot_fs_refs()-based mechanism that atomically updates fs->root
> for all tasks sharing the same fs_struct.
I think you meant here "sharing same cwd and root". The problem
with pivot_root is that it changes refs not only for tasks sharing
same fs_struct (i. e. cloned with CLONE_FS), but also for all tasks
sharing same cwd and root.
(I just do some proofreading. I'm trying to help. I hope you are not
offended.)
--
Askar Safin
prev parent reply other threads:[~2026-02-24 1:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-24 0:40 [PATCH RFC 0/3] move_mount: expand MOVE_MOUNT_BENEATH Christian Brauner
2026-02-24 0:40 ` [PATCH RFC 1/3] move_mount: transfer MNT_LOCKED Christian Brauner
2026-02-24 0:40 ` [PATCH RFC 2/3] move_mount: allow MOVE_MOUNT_BENEATH on the rootfs Christian Brauner
2026-02-24 0:40 ` [PATCH RFC 3/3] selftests/filesystems: add MOVE_MOUNT_BENEATH rootfs tests Christian Brauner
2026-02-24 1:40 ` Askar Safin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260224014021.1231200-1-safinaskar@gmail.com \
--to=safinaskar@gmail.com \
--cc=brauner@kernel.org \
--cc=jack@suse.cz \
--cc=linux-fsdevel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox