Re: [PATCH v4 0/3] promote mapped executable folios after first usage for MGLRU
From: Zicheng Wang
Date: Tue Jul 28 2026 - 00:20:05 EST
On 7/27/26 4:08 PM, Baolin Wang wrote:
> Since we try to keep executable file folios in memory to avoid IO
> thrashing, which could cause more severe problems (such as the system
> hanging), this also means that the stall time of some other folios may
> increase. Moreover, the stall time of the original exec folios might not
> have been counted at all, for example, in filemap_read_folio(), PSI is
> only accounted for file folios marked with workingset, but before my
> patch, exec file folios might not have had a chance to set the
> workingset flag.
Thanks Baolin, that makes sense.
Best,
Zicheng