Thread (18 messages) read the whole thread 18 messages, 5 authors, 2025-01-14

Re: [PATCH v2 1/4] mm: Set folio swapbacked iff folios are dirty in try_to_unmap_one

From: Lance Yang <hidden>
Date: 2025-01-14 06:06:26
Also in: linux-mm, linux-riscv, lkml

On Tue, Jan 14, 2025 at 10:56 AM Baolin Wang
[off-list ref] wrote:


On 2025/1/13 11:38, Barry Song wrote:
quoted
From: Barry Song <redacted>

The refcount may be temporarily or long-term increased, but this does
not change the fundamental nature of the folio already being lazy-
freed. Therefore, we only reset 'swapbacked' when we are certain the
folio is dirty and not droppable.

Suggested-by: David Hildenbrand <redacted>
Signed-off-by: Barry Song <redacted>
LGTM. Feel free to add:
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
LGTM!
Reviewed-by: Lance Yang <redacted>

Thanks,
Lance
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help