From: "David Hildenbrand (Arm)" <david@kernel.org>
To: Andrew Morton <akpm@linux-foundation.org>,
Yifan Feng <evanfengff@gmail.com>
Cc: Hugh Dickins <hughd@google.com>,
Baolin Wang <baolin.wang@linux.alibaba.com>,
Gregory Price <gourry@gourry.net>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] tmpfs: escape the space in the mpol mount option
Date: Mon, 30 Nov 2026 12:13:28 +0100 [thread overview]
Message-ID: <61e206e6-45a6-4fd9-83bf-cb19f28ebc51@kernel.org> (raw)
In-Reply-To: <20261129181245.b72c78f8e75252dbe582dbbe@linux-foundation.org>
On 11/30/26 03:12, Andrew Morton wrote:
> On Sun, 29 Nov 2026 18:09:05 -0800 Yifan Feng <evanfengff@gmail.com> wrote:
>
>> On Sat, 28 Nov 2026 18:13:19 -0800 Andrew Morton <akpm@linux-foundation.org> wrote:
>>
>>>
>>> what's in /proc mounts at this point?
>>
>> none /mnt tmpfs rw,relatime,inode64,mpol=prefer (many):0-1 0 0
>>
>> That is seven fields where six are expected. findmnt and getmntent()
>> stop at the space, so the options they return end in "mpol=prefer".
>>
>>> and what does /proc/mounts look like after making this change?
>>
>> After the mount:
>>
>> none /mnt tmpfs rw,relatime,inode64,mpol=prefer\040(many):0-1 0 0
>>
>> After the remount with size=128M:
>>
>> none /mnt tmpfs rw,relatime,size=131072k,inode64,mpol=prefer\040(many):0-1 0 0
>>
>> findmnt and getmntent() decode the \040, and the options they return
>> end in "mpol=prefer (many):0-1".
>
> Great, thanks.
>
>> I can send a v2 with these lines in the changelog if you prefer.
>
> If you could please. I expect David will be processing this patch.
Yes please.
--
Cheers,
David
prev parent reply other threads:[~2026-11-30 11:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-28 23:37 [PATCH] tmpfs: escape the space in the mpol mount option Yifan Feng
2026-11-29 2:13 ` Andrew Morton
2026-11-30 2:09 ` Yifan Feng
2026-11-30 2:12 ` Andrew Morton
2026-11-30 11:13 ` David Hildenbrand (Arm) [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=61e206e6-45a6-4fd9-83bf-cb19f28ebc51@kernel.org \
--to=david@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=baolin.wang@linux.alibaba.com \
--cc=evanfengff@gmail.com \
--cc=gourry@gourry.net \
--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