commit | 806b6ec14991743f46e093ba95231099d65e1967 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Sat Nov 09 10:03:01 2024 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Dec 20 08:30:40 2024 -0700 |
tree | c9d632ddbcd5fa8401db0ad322b2ce2a146aee23 | |
parent | 2980cde583416816466d3f2e38617e3edfcf5af7 [diff] |
mm: add FGP_DONTCACHE 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. If an !uncached lookup finds a cached folio, clear the flag. For that case, there are competeting uncached and cached users of the folio, and it should not get pruned. Signed-off-by: Jens Axboe <axboe@kernel.dk>