[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241031190652.5f775796@kernel.org>
Date: Thu, 31 Oct 2024 19:06:52 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: liqiang <liqiang64@...wei.com>
Cc: <wenjia@...ux.ibm.com>, <jaka@...ux.ibm.com>,
<alibuda@...ux.alibaba.com>, <tonylu@...ux.alibaba.com>,
<guwen@...ux.alibaba.com>, <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 Tue, 29 Oct 2024 14:54:15 +0800 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.
Not sure what the story here is but the patch does not apply to net-next
--
pw-bot: cr
Powered by blists - more mailing lists