Re: [GIT PULL] Memory folios for v5.15

From
Dan Williams <hidden>
Date
2021-08-27 21:41:28
Also in
linux-mm, lkml
Reply to
Matthew Wilcox, 2021-08-27
On Fri, Aug 27, 2021 at 11:47 AM Matthew Wilcox [off-list ref] wrote:
On Fri, Aug 27, 2021 at 10:07:16AM -0400, Johannes Weiner wrote:
quoted
We have the same thoughts in MM and growing memory sizes. The DAX
stuff said from the start it won't be built on linear struct page
mappings anymore because we expect the memory modules to be too big to
manage them with such fine-grained granularity.
Well, I did.  Then I left Intel, and Dan took over.  Now we have a struct
page for each 4kB of PMEM.  I'm not particularly happy about this change
of direction.
Page-less DAX left more problems than it solved. Meanwhile,
ZONE_DEVICE has spawned other useful things like peer-to-peer DMA.

I am more encouraged by efforts to make the 'struct page' overhead
disappear, first from Muchun Song for hugetlbfs and recently Joao
Martins for device-dax.  If anything, I think 'struct page' for PMEM /
DAX *strengthens* the case for folios / better mechanisms to reduce
the overhead of tracking 4K pages.
Thread (161 messages) 161 messages, 27 authors, last reply 2021-10-25
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help