On Fri, Sep 20, 2024 at 10:36:54PM +0800, Kefeng Wang wrote: > The tmpfs supports large folio, but there is some configurable options > to enable/disable large folio allocation, and for huge=within_size, > large folio only allowabled if it fully within i_size, so there is > performance issue when perform write without large folio, the issue is > similar to commit 4e527d5841e2 ("iomap: fault in smaller chunks for > non-large folio mappings"). No. What's wrong with my earlier suggestion?