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: <58333f24-ae0a-4860-a6a8-37fef09165a0@linux.alibaba.com>
Date: Mon, 4 Nov 2024 09:41:01 +0800
From: "D. Wythe" <alibuda@...ux.alibaba.com>
To: liqiang <liqiang64@...wei.com>, wenjia@...ux.ibm.com, jaka@...ux.ibm.com,
 tonylu@...ux.alibaba.com, guwen@...ux.alibaba.com
Cc: linux-s390@...r.kernel.org, netdev@...r.kernel.org,
 linux-kernel@...r.kernel.org, luanjianhai@...wei.com,
 zhangxuzhou4@...wei.com, dengguangxing@...wei.com, gaochao24@...wei.com
Subject: Re: [PATCH] net/smc: Optimize the search method of reused buf_desc



On 10/29/24 2:54 PM, liqiang wrote:
> We create a lock-less link list for the currently
> idle reusable smc_buf_desc.
> 
> When the 'used' filed mark to 0, it is added to
> the lock-less linked list.
> 
> When a new connection is established, a suitable
> element is obtained directly, which eliminates the
> need for traversal and search, and does not require
> locking resource.
> 
> A lock-free linked list is a linked list that uses
> atomic operations to optimize the producer-consumer model.



No objection, but could you provide us with some data before and after the optimization ?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ