Re: [PATCH v9 13/15] hugetlb: Set mapping folio order
Pedro Falcato <[email protected]>
| Newsgroups | org.kvack.linux-mm,org.kernel.vger.linux-fsdevel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Aug 05, 2026 at 10:05:53PM +0100, Matthew Wilcox (Oracle) wrote: > hugetlbfs currently uses an fs-specific way to determine the size of > the folios in its page cache. Thanks to the support of block sizes > larger than page sizes, we now support this as part of the page cache. > It's somewhat more efficient as we have this information directly in the > mapping rather than going from inode->i_sb->s_fs_info. We can convert > the rest of the hugetlb code to use this at our leisure; this is needed > now so that we can use filemap_get_pages() unmodified. > > Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> > Reviewed-by: Gregory Price <[email protected]> > Reviewed-by: Jane Chu <[email protected]> Reviewed-by: Pedro Falcato <[email protected]> -- Pedro