]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mm: reimplement folio_is_fsdax()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 5 Aug 2025 17:23:00 +0000 (18:23 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 13 Sep 2025 23:55:09 +0000 (16:55 -0700)
commitc995ac3aa3747ec2a0373e5f319a22e0cb31d613
tree98752fd2a80c595c7c575d709fc293b509ea55de
parentbd0dbbb3fd902c7eea7eb166d91bda4530a8de96
mm: reimplement folio_is_fsdax()

For callers of folio_is_fsdax(), we save a folio->page->folio conversion.
Callers of is_fsdax_page() simply move the conversion of page->folio from
the implementation of page_pgmap() to is_fsdax_page().

Link: https://lkml.kernel.org/r/20250805172307.1302730-11-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Zi Yan <ziy@nvidia.com>
Cc: Shakeel Butt <shakeel.butt@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/memremap.h