mm: drop uncached pages when writeback completes
authorJens Axboe <axboe@kernel.dk>
Wed, 6 Nov 2024 16:55:22 +0000 (09:55 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 8 Nov 2024 03:51:49 +0000 (20:51 -0700)
commitd17a6ec6bfac4bdd38c8cef280eb31b8ede1a63f
tree7711eb4e5ddaf32a259a50fa7f94bcce26f7290c
parent37bf65f9cd53d7cb4e6b95abf21fd2d76cc88ed4
mm: drop uncached pages when writeback completes

If the folio is marked as uncached, drop pages when writeback completes.
Intended to be used with RWF_UNCACHED, to avoid needing sync writes for
uncached IO.

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