Re: [PATCH 03/13] mm: add PG_uncached page flag
From: Kirill A. Shutemov
Date: Fri Nov 08 2024 - 14:26:04 EST
On Fri, Nov 08, 2024 at 10:43:26AM -0700, Jens Axboe wrote:
> Add a page flag that file IO can use to indicate that the IO being done
> is uncached, as in it should not persist in the page cache after the IO
> has been completed.
Flag bits are precious resource. It would be nice to re-use an existing
bit if possible.
PG_reclaim description looks suspiciously close to what you want.
I wounder if it would be valid to re-define PG_reclaim behaviour to drop
the page after writeback instead of moving to the tail of inactive list.
--
Kiryl Shutsemau / Kirill A. Shutemov