[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6064b468-33fb-3693-54e-6f1f8d316f64@google.com>
Date: Tue, 18 Apr 2023 14:41:07 -0700 (PDT)
From: Hugh Dickins <hughd@...gle.com>
To: Luis Chamberlain <mcgrof@...nel.org>
cc: Hugh Dickins <hughd@...gle.com>, akpm@...ux-foundation.org,
willy@...radead.org, brauner@...nel.org, linux-mm@...ck.org,
p.raghav@...sung.com, da.gomez@...sung.com,
a.manzanares@...sung.com, dave@...olabs.net, yosryahmed@...gle.com,
keescook@...omium.org, patches@...ts.linux.dev,
linux-kernel@...r.kernel.org, David Hildenbrand <david@...hat.com>
Subject: Re: [PATCH v2 5/6] shmem: update documentation
On Tue, 18 Apr 2023, Luis Chamberlain wrote:
> On Mon, Apr 17, 2023 at 10:29:59PM -0700, Hugh Dickins wrote:
> > On Thu, 9 Mar 2023, Luis Chamberlain wrote:
> >
> > > Update the docs to reflect a bit better why some folks prefer tmpfs
> > > over ramfs and clarify a bit more about the difference between brd
> > > ramdisks.
> > >
> > > While at it, add THP docs for tmpfs, both the mount options and the
> > > sysfs file.
> >
> > Okay: the original canonical reference for THP options on tmpfs has
> > been Documentation/admin-guide/mm/transhuge.rst. You're right that
> > they would be helpful here too: IIRC (but I might well be confusing
> > with our Google tree) we used to have them documented in both places,
> > but grew tired of keeping the two in synch. You're volunteering to
> > do so! so please check now that they tell the same story.
>
> Hehe. Sure, we should just make one point to the other. Which one should
> be the authoritive source?
Documentation/admin-guide/mm/transhuge.rst has been the authoritative
source up until this patch, so I suggest it remain so; but good if you
point to it from this Doc - unless in reading it you find that actually
its account is wrong. (Haha, it refers to fadvise too, never mind that.)
But the man page is more important than either, so it would be good to
point to that too. Mention the "huge=" option in this document, but
point to elsewhere for the detail of its values.
>
> > But nowadays, "man 5 tmpfs" is much more important (and that might
> > give you a hint for what needs to be done after this series goes into
> > 6.4-rc - and I wonder if there are tmpfs manpage updates needed from
> > Christian for idmapped too? or already taken care of?).
>
> Sure, what's the man page git tree to use? I can do that once these
> documents are settled as well. I'll send fixes.
Thanks. I'll look up a mail to lkml from Alejandro and forward that
to you, it has the details.
Hugh
Powered by blists - more mailing lists