On Fri, Oct 27, 2023 at 10:03:15AM +0200, Pankaj Raghav wrote: > I also noticed this pattern in fscrypt_zeroout_range_inline_crypt(). > Probably there are more places which could use a ZERO_FOLIO directly > instead of iterating with ZERO_PAGE. > > Chinner also had a similar comment. It would be nice if we can reserve > a zero huge page that is the size of MAX_PAGECACHE_ORDER and add it as > one folio to the bio. i'm on holiday atm. start looking at mm_get_huge_zero_page()