Re: [f2fs-dev] [PATCH v2] f2fs: another way to set large folio by remembering inode number
Christoph Hellwig <[email protected]>
| Newsgroups | org.kernel.vger.linux-api,net.sourceforge.lists.linux-f2fs-devel,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel,org.kvack.linux-mm |
|---|---|
| Message-ID | <[email protected]> |
On Tue, May 26, 2026 at 03:47:46AM +0000, Jaegeuk Kim wrote: > Thanks for the feedback. Actually, I tried to do compact_memory before doing > read() for AI loading, but I got complaints where it took hundreds milliseconds > to run that compact_memory. Is there a good way to secure high-order pages before > that read()? It was quite hard to project when it will happen. Make sure that all files use large folios as much as possible so that you have a lot of clean pagecache to reclaim.. Same for any other easily reclaimable memory through shrinkers.