Re: [PATCH mm-unstable 5/5] mm: zpool: Remove zpool_malloc_support_movable()
From: Nhat Pham
Date: Wed Mar 05 2025 - 12:05:25 EST
On Tue, Mar 4, 2025 at 10:12 PM Yosry Ahmed <yosry.ahmed@xxxxxxxxx> wrote:
>
> zpool_malloc_support_movable() always returns true for zsmalloc, the
> only remaining zpool driver. Remove it and set the gfp flags in
> zswap_compress() accordingly. Opportunistically use GFP_NOWAIT instead
> of __GFP_NOWARN | __GFP_KSWAPD_RECLAIM for conciseness as they are
> equivalent.
>
> Signed-off-by: Yosry Ahmed <yosry.ahmed@xxxxxxxxx>
Acked-by: Nhat Pham <nphamcs@xxxxxxxxx>