lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <821faf8b-e61e-4f0a-bbb8-4a0f00c9fe53@linux.dev>
Date: Thu, 9 Oct 2025 11:03:16 +0800
From: Chengming Zhou <chengming.zhou@...ux.dev>
To: SeongJae Park <sj@...nel.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
 Johannes Weiner <hannes@...xchg.org>, Nhat Pham <nphamcs@...il.com>,
 Yosry Ahmed <yosry.ahmed@...ux.dev>, kernel-team@...a.com,
 linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH 3/4] mm/zswap: s/red-black tree/xarray/

On 2025/10/4 04:38, SeongJae Park wrote:
> Changes made by commit 796c2c23e14e ("zswap: replace RB tree with
> xarray") is not reflected on a comment.  Update the comment.
> 
> Signed-off-by: SeongJae Park <sj@...nel.org>

Reviewed-by: Chengming Zhou <chengming.zhou@...ux.dev>

> ---
>   mm/zswap.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/mm/zswap.c b/mm/zswap.c
> index f6b1c8832a4f..5d0f8b13a958 100644
> --- a/mm/zswap.c
> +++ b/mm/zswap.c
> @@ -175,7 +175,7 @@ static struct shrinker *zswap_shrinker;
>    * This structure contains the metadata for tracking a single compressed
>    * page within zswap.
>    *
> - * swpentry - associated swap entry, the offset indexes into the red-black tree
> + * swpentry - associated swap entry, the offset indexes into the xarray
>    * length - the length in bytes of the compressed page data.  Needed during
>    *          decompression.
>    * referenced - true if the entry recently entered the zswap pool. Unset by the

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ