Re: [PATCH v4 0/3] Optimize large folio interaction with deferred split

From: Yu Zhao
Date: Wed Aug 02 2023 - 13:04:02 EST


On Wed, Aug 2, 2023 at 10:42 AM Ryan Roberts <ryan.roberts@xxxxxxx> wrote:
>
> Hi Andrew,
>
> After discussion about this in Matthew's THP Cabal, we have decided to take a
> different approach with this patch set. Could you therefore remove it from
> mm-unstable, please? Sorry about the noise.
>
> I'm going to try 2 different approaches:
> - avoid the split lock contention by using mmu gather (suggested by Kirill)
> - expand the zap pte batching to also cover file folios (as requested by Yu).

Also we didn't have the chance to clarify before Ryan dropped out from
the meeting: I don't think this series is a prerequisite for the other
series ("variable-order, large folios for anonymous memory") at all.
They can move along in parallel: one is specific for anon and the
other (this series) is generic for all types of large folios.