From: David Hildenbrand <david@kernel.org>
To: Hugh Dickins <hughd@google.com>,
David Hildenbrand <david@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Yifan Feng <evanfengff@gmail.com>
Cc: Baolin Wang <baolin.wang@linux.alibaba.com>,
Greg Thelen <gthelen@google.com>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] tmpfs: reset the memory policy on remount with mpol=default
Date: Mon, 30 Nov 2026 13:21:10 +0100 [thread overview]
Message-ID: <179604127062.6633.5931355318618012725.b4-ty@b4> (raw)
In-Reply-To: <20261127230015.30733-1-evanfengff@gmail.com>
On Fri, 27 Nov 2026 15:00:15 -0800, Yifan Feng wrote:
> mpol_parse_str() returns a NULL policy for "default", and
> shmem_reconfigure() takes a NULL ctx->mpol to mean that no mpol option
> was given. So a remount with mpol=default succeeds but keeps the old
> policy:
>
> # mount -t tmpfs -o mpol=bind:1 none /mnt
> # mount -o remount,mpol=default /mnt
> # grep /mnt /proc/mounts
> none /mnt tmpfs rw,relatime,mpol=bind:1 0 0
>
> [...]
Applied, thanks!
tree: mm/core.git
branch: shmem-7.5.misc
Applied patches will appear soon in mm-next, followed by linux-next.
Please report any outstanding bugs that were missed during review, so we
can either drop the patch series or decide how to fix it up.
It is encouraged to provide Acked-bys, Reviewed-bys, and Tested-bys even
though the patches have already been applied. If possible, patch trailers
will be updated.
Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. Further, this is not a guarantee that the
patches will go upstream. If in doubt, please check the listed branch.
[1/1] tmpfs: reset the memory policy on remount with mpol=default
https://git.kernel.org/mm/core/c/cbd42552
--
Cheers,
David
prev parent reply other threads:[~2026-11-30 12:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 23:00 Yifan Feng
2026-11-28 0:10 ` Andrew Morton
2026-11-28 19:03 ` Yifan Feng
2026-11-28 19:33 ` Andrew Morton
2026-11-30 8:00 ` Baolin Wang
2026-11-30 12:21 ` David Hildenbrand [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=179604127062.6633.5931355318618012725.b4-ty@b4 \
--to=david@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=baolin.wang@linux.alibaba.com \
--cc=evanfengff@gmail.com \
--cc=gthelen@google.com \
--cc=hughd@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
/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
all inboxes | Powered by JetHome®