Re: [PATCH RFC 12/15] mm, swap: merge zeromap into swap table
From: Barry Song
Date: Wed Feb 25 2026 - 07:22:29 EST
On Fri, Feb 20, 2026 at 7:42 AM Kairui Song via B4 Relay
<devnull+kasong.tencent.com@xxxxxxxxxx> wrote:
>
> From: Kairui Song <kasong@xxxxxxxxxxx>
>
> By reserving one bit for the counting part, we can easily merge the
> zeromap into the swap table.
Hi Kairui,
I know you're saving space by removing the zeromap memory,
but do you think a bitmap can sometimes be faster
than iterating over multiple data points to set or get bits?
Or is the performance difference too small to notice?
Thanks
Barry