From: David Howells <firstname.lastname@example.org>
Andrew Morton <email@example.com>,
Johannes Weiner <firstname.lastname@example.org>
Cc: email@example.com, Matthew Wilcox <firstname.lastname@example.org>,
"Theodore Ts'o" <email@example.com>,
Christoph Hellwig <firstname.lastname@example.org>,
Alexander Viro <email@example.com>,
Vlastimil Babka <firstname.lastname@example.org>,
Rasmus Villemoes <email@example.com>,
"Darrick J. Wong" <firstname.lastname@example.org>,
Dan Williams <email@example.com>,
Jeff Layton <firstname.lastname@example.org>,
Subject: Folios: Can we resolve this please?
Date: Tue, 31 Aug 2021 23:15:47 +0100 [thread overview]
Message-ID: <email@example.com> (raw)
Hi Linus, Andrew, Johannes,
Can we come to a quick resolution on folios? I'd really like this to be
solved in this merge window if at all possible as I (and others) have stuff
that will depend on and will conflict with Willy's folio work. It would be
great to get this sorted one way or another.
As I see it, there are three issues, I think, and I think they kind of go like
(1) Johannes wants to get away from pages being used as the unit of memory
currency and thinks that folios aren't helpful in this regard. There
seems to be some disagreement about where this is heading.
(2) Linus isn't entirely keen on Willy's approach, with a bottom up
approach hiding the page objects behind a new type from the pov of the
filesystem, but would rather see the page struct stay the main API type
and the changes be hidden transparently inside of that.
I think from what Linus said, he may be in favour (if that's not too
strong a word) of using a new type to make sure we don't miss the
(3) Linus isn't in favour of the name 'folio' for the new type. Various
names have been bandied around and Linus seems okay with "pageset",
though it's already in minor(-ish) use. Willy has an alternate
patchset with "folio" changed to "pageset".
With regard to (1), I think the folio concept could be used in future to hide
at least some of the paginess from filesystems.
With regard to (2), I think a top-down approach won't work until and unless we
wrap all accesses to struct page by filesystems (and device drivers) in
wrapper functions - we need to stop filesystems fiddling with page internals
because what page internals may mean may change.
With regard to (3), I'm personally fine with the name "folio", as are other
people, but I could also live with a conversion to "pageset".
Is it possible to take the folios patchset as-is and just live with the name,
or just take Willy's rename-job (although it hasn't had linux-next soak time
yet)? Or is the approach fundamentally flawed and in need of redoing?
Link: https://lore.kernel.org/r/YSQSkSOWtJCE4g8p@cmpxchg.org/ 
Link: https://lore.kernel.org/r/CAHk-=wjD8i2zJVQ9SfF2t=_0Fkgy-i5Z=mQjCw36AHvbBTGXyg@mail.gmail.com/ 
Link: https://lore.kernel.org/r/CAHk-=wgkA=RKJ-vke0EoOUK19Hv1f=47Da6pWAWQZPhjKD6WOg@mail.gmail.com/ 
Link: https://lore.kernel.org/r/CAHk-=wiZ=wwa4oAA0y=Kztafgp0n+BDTEV6ybLoH2nvLBeJBLA@mail.gmail.com/ 
Link: https://lore.kernel.org/r/CAHk-=whd8ugrzMS-3bupkPQz9VS+dWHPpsVssrDfuFgfff+n5A@mail.gmail.com/ 
Link: https://lore.kernel.org/r/CAHk-=wgwRW1_o6iBOxtSE+vm7uiSr98wkTLbCze9-7wW0ZhOLQ@mail.gmail.com/ 
Link: https://lore.kernel.org/r/YSmtjVTqR9%2F4W1aq@casper.infradead.org/ 
Link: https://lore.kernel.org/r/YSXkDFNkgAhQGB0E@infradead.org/ 
Link: https://firstname.lastname@example.org/ 
Link: https://email@example.com/ 
Link: https://lore.kernel.org/r/20210826005914.GG12597@magnolia/ 
next reply other threads:[~2021-08-31 22:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-31 22:15 David Howells [this message]
2021-09-01 10:18 ` Folios: Can we resolve this please? David Hildenbrand
2021-09-01 10:18 ` David Hildenbrand
2021-09-01 11:42 ` Christian Brauner
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:
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.