Re: [PATCH mm-unstable 5/5] mm: zpool: Remove zpool_malloc_support_movable()

From: Johannes Weiner
Date: Wed Mar 05 2025 - 09:58:03 EST


On Wed, Mar 05, 2025 at 06:11:33AM +0000, Yosry Ahmed 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: Johannes Weiner <hannes@xxxxxxxxxxx>