mm: add FGP_UNCACHED folio creation flag
authorJens Axboe <axboe@kernel.dk>
Sat, 9 Nov 2024 17:03:01 +0000 (10:03 -0700)
committerJens Axboe <axboe@kernel.dk>
Sun, 10 Nov 2024 13:51:53 +0000 (06:51 -0700)
commit80713e8dbbd4125855c5d8060f0cd332b919a4fa
tree3acd78eb6d30cc466afa2bc1e0f5566b8390df4e
parente1f50cbb7aa4564b72fb77ab304e320af350f1bd
mm: add FGP_UNCACHED folio creation flag

Callers can pass this in for uncached folio creation, in which case if
a folio is newly created it gets marked as uncached. If a folio exists
for this index and lookup succeeds, then it will not get marked as
uncached.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/pagemap.h
mm/filemap.c