[PATCH v2 0/5] variable-order, large folios for anonymous memory
Matthew Wilcox
willy at infradead.org
Tue Jul 11 14:59:52 PDT 2023
On Tue, Jul 11, 2023 at 02:11:19PM -0700, Luis Chamberlain wrote:
> On Fri, Jul 07, 2023 at 02:12:01PM +0100, Matthew Wilcox wrote:
> > On Fri, Jul 07, 2023 at 01:40:53PM +0200, David Hildenbrand wrote:
> >
> > > Is swapping working as expected? zswap?
> >
> > Suboptimally. Swap will split folios in order to swap them.
>
> Wouldn't that mean if high order folios are used a lot but swap is also
> used, until this is fixed you wouldn't get the expected reclaim gains
> for high order folios and we'd need compaction more then?
They're split in shrink_folio_list(), so they stay intact until
that point?
> > Somebody needs to fix that, but it should work.
>
> As we look at shmem stuff it was on the path so something we have
> considered doing. Ie, it's on our team's list of items to help with
> but currently on a backburner.
Something I was thinking about is that you'll need to prohibit swap
devices or swap files being created on large block devices. Until
we rewrite the entire swap subsystem ...
More information about the linux-arm-kernel
mailing list