[PATCH v2 1/4] mm: Set folio swapbacked iff folios are dirty in try_to_unmap_one
Lance Yang
ioworker0 at gmail.com
Mon Jan 13 22:05:47 PST 2025
On Tue, Jan 14, 2025 at 10:56 AM Baolin Wang
<baolin.wang at linux.alibaba.com> wrote:
>
>
>
> On 2025/1/13 11:38, Barry Song wrote:
> > From: Barry Song <v-songbaohua at oppo.com>
> >
> > 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 <david at redhat.com>
> > Signed-off-by: Barry Song <v-songbaohua at oppo.com>
>
> LGTM. Feel free to add:
> Reviewed-by: Baolin Wang <baolin.wang at linux.alibaba.com>
LGTM!
Reviewed-by: Lance Yang <ioworker0 at gmail.com>
Thanks,
Lance
More information about the linux-arm-kernel
mailing list