[PATCHv3 04/11] mm/zswap: Use PG_dropbehind instead of PG_reclaim
Nhat Pham
nphamcs at gmail.com
Thu Jan 30 17:39:52 UTC 2025
On Thu, Jan 30, 2025 at 2:02 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.
Neat!
>
> Instead of using folio_set_reclaim(), use folio_set_dropbehind() in
> zswap_writeback_entry().
>
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov at linux.intel.com>
> Acked-by: David Hildenbrand <david at redhat.com>
> Acked-by: Yosry Ahmed <yosryahmed at google.com>
Acked-by: Nhat Pham <nphamcs at gmail.com>
More information about the Intel-gfx
mailing list