Re: [PATCH v3 03/12] mm, swap: remove redundant arguments and locking for enabling a device

From: Chris Li

Date: Thu Feb 19 2026 - 01:48:51 EST


On Tue, Feb 17, 2026 at 12:06 PM Kairui Song via B4 Relay
<devnull+kasong.tencent.com@xxxxxxxxxx> wrote:
>
> From: Kairui Song <kasong@xxxxxxxxxxx>
>
> There is no need to repeatedly pass zero map and priority values.
> zeromap is similar to cluster info and swap_map, which are only used
> once the swap device is exposed. And the prio values are currently
> read only once set, and only used for the list insertion upon expose
> or swap info display.
>
> Signed-off-by: Kairui Song <kasong@xxxxxxxxxxx>


Acked-by: Chris Li <chrisl@xxxxxxxxxx>

Chris