[PATCHv2 05/11] mm/truncate: Use folio_set_dropbehind() instead of deactivate_file_folio()
Yu Zhao
yuzhao at google.com
Wed Jan 15 20:43:10 UTC 2025
On Wed, Jan 15, 2025 at 2:32 AM Kirill A. Shutemov
<kirill.shutemov at linux.intel.com> wrote:
>
> The recently introduced PG_dropbehind allows for freeing folios
> immediately after writeback. Unlike PG_reclaim, it does not need vmscan
> to be involved to get the folio freed.
>
> The new flag allows to replace whole deactivate_file_folio() machinery
> with simple folio_set_dropbehind().
>
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov at linux.intel.com>
Acked-by: Yu Zhao <yuzhao at google.com>
More information about the dri-devel
mailing list