On Sun, 2024-10-13 at 14:04 +0300, Avi Kivity wrote: > > > > > > text-hugepage-689146 [023] 200457.073794: > > > mm_khugepaged_scan_file: > > > mm=0xffff92fc512aac00, scan_pfn=0x5a4310, filename=text-hugepage, > > > present=0, swap=0, result=page_compound > > > > Aha, it is because v6.10 doesn't support collapse non-PMD order > > large > > folios. It has been fixed in v6.12-rc1. The patch series is: > > https://lore.kernel.org/all/cover.1724140601.git.baolin.wang@linux. > > al > > ibaba.com/ > > > > The subject says "shmem", but it actually works for regular files > > too. > > > > Thanks a lot. I will retest when 6.12 reaches Fedora testing. > It is available, so I retested it (6.12-rc2). I confirm it works (and delivers a nice performance improvement).