]> www.infradead.org Git - users/willy/pagecache.git/commit
mm: add PG_dropbehind folio flag
authorJens Axboe <axboe@kernel.dk>
Fri, 20 Dec 2024 15:47:42 +0000 (08:47 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 26 Jan 2025 04:22:42 +0000 (20:22 -0800)
commitcceba6f7e46c48deca433030d80fc34599fb9fd8
tree98ab4311cce6952c0655023afd62eef209f3b528
parent1963de79d3a3bc12b7a17a922d508b733ca8fa9e
mm: add PG_dropbehind folio flag

Add a folio flag that file IO can use to indicate that the cached IO being
done should be dropped from the page cache upon completion.

Link: https://lkml.kernel.org/r/20241220154831.1086649-5-axboe@kernel.dk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Brian Foster <bfoster@redhat.com>
Cc: Chris Mason <clm@meta.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/page-flags.h
include/trace/events/mmflags.h