[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <033a81f7-c88a-43d8-9712-362fdb1c382f@arm.com>
Date: Fri, 20 Jun 2025 09:04:02 +0530
From: Dev Jain <dev.jain@....com>
To: Kairui Song <kasong@...cent.com>, linux-mm@...ck.org
Cc: Andrew Morton <akpm@...ux-foundation.org>, Hugh Dickins
<hughd@...gle.com>, Baolin Wang <baolin.wang@...ux.alibaba.com>,
Matthew Wilcox <willy@...radead.org>, Kemeng Shi
<shikemeng@...weicloud.com>, Chris Li <chrisl@...nel.org>,
Nhat Pham <nphamcs@...il.com>, Baoquan He <bhe@...hat.com>,
Barry Song <baohua@...nel.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/4] mm/shmem, swap: avoid redundant Xarray lookup
during swapin
On 19/06/25 11:25 pm, Kairui Song wrote:
> From: Kairui Song <kasong@...cent.com>
>
> Currently shmem calls xa_get_order to get the swap radix entry order,
> requiring a full tree walk. This can be easily combined with the swap
> entry value checking (shmem_confirm_swap) to avoid the duplicated
> lookup, which should improve the performance.
>
> Signed-off-by: Kairui Song <kasong@...cent.com>
> Reviewed-by: Kemeng Shi <shikemeng@...weicloud.com>
> ---
>
>
Reviewed-by: Dev Jain <dev.jain@....com>
Powered by blists - more mailing lists