Re: [PATCH v3 0/7] Modify memfd_luo code

From: Andrew Morton

Date: Thu Mar 26 2026 - 19:36:26 EST


On Thu, 26 Mar 2026 16:47:20 +0800 Chenghao Duan <duanchenghao@xxxxxxxxxx> wrote:

> Subject: [PATCH v3 0/7] Modify memfd_luo code

I'd like to see a more desriptive title than this. Maybe "memfd_luo:
various fixes and cleanups". This isn't a big deal and "Modify
memfd_luo code" is good enough ;)

> Date: Thu, 26 Mar 2026 16:47:20 +0800
> X-Mailer: git-send-email 2.25.1
>
> I found several modifiable points while reading the code. Please review.
>
> v3:
> v2 patches remain unchanged, and v3 adds 3 additional patches.
> <mm/memfd_luo: fix physical address conversion in put_folios cleanup>
> <mm/memfd_luo: remove folio from page cache when accounting fails>
> <mm/memfd_luo: fix integer overflow in memfd_luo_preserve_folios>
>
> These three patches address issues identified by the AI review,
> with the review link as follows:
> https://sashiko.dev/#/patchset/20260323110747.193569-1-duanchenghao@xxxxxxxxxx

OK, I'll add this. I'm trying to seriously slow things down now but
this series does address a bunch of issues.

Maintainers, there are a few more patches here than were in v2, so
please take a look?

Thanks.