[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e47a7541-7b95-453a-9512-96343486b0ec@linux.alibaba.com>
Date: Sat, 21 Jun 2025 12:27:31 +0800
From: Baolin Wang <baolin.wang@...ux.alibaba.com>
To: Kairui Song <kasong@...cent.com>, linux-mm@...ck.org
Cc: Andrew Morton <akpm@...ux-foundation.org>, Hugh Dickins
<hughd@...gle.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 2025/6/20 01:55, 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>
LGTM.
Reviewed-by: Baolin Wang <baolin.wang@...ux.alibaba.com>
Powered by blists - more mailing lists