Re: [PATCH v4 3/3] mm, swap: drop the swap cache guard and reclaim in swap_free_hibernation_slot()
From: Nhat Pham
Date: Wed Nov 04 2026 - 12:07:50 EST
On Tue, Nov 3, 2026 at 9:25 AM Kairui Song via B4 Relay
<devnull+kasong.tencent.com@xxxxxxxxxx> wrote:
>
> From: Youngjun Park <youngjun.park@xxxxxxx>
>
> Both are there for a folio that readahead might have put on the slot. A
> hibernation entry is not a shadow and has no swap count, so the swap cache
> turns it away and no such folio can exist.
>
> Signed-off-by: Youngjun Park <youngjun.park@xxxxxxx>
> Acked-by: Kairui Song <kasong@xxxxxxxxxxx>
> Signed-off-by: Kairui Song <kasong@xxxxxxxxxxx>
Reviewed-by: Nhat Pham <nphamcs@xxxxxxxxx>