]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dax: use folios more widely within DAX
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 16 Dec 2024 15:53:56 +0000 (15:53 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 28 Feb 2025 01:00:02 +0000 (17:00 -0800)
commit6d880ef00ca4a027eb9870b88a50900f2463a6ef
treec89c50cc656db8c6a473ebdead311e7c81d8c3bf
parent7232c2707719e782f3103388ef13987a4117eb8d
dax: use folios more widely within DAX

Convert from pfn to folio instead of page and use those folios throughout
to avoid accesses to page->index and page->mapping.

Link: https://lkml.kernel.org/r/20241216155408.8102-2-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Jane Chu <jane.chu@oracle.com>
Cc: Dan Willaims <dan.j.williams@intel.com>
Cc: Dave Jiang <dave.jiang@intel.com>
Cc: Vishal Verma <vishal.l.verma@intel.com>
Cc: Alistair Popple <apopple@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/dax.c