All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: liqiang <liqiang64@huawei.com>
Cc: <wenjia@linux.ibm.com>, <jaka@linux.ibm.com>,
	<alibuda@linux.alibaba.com>, <tonylu@linux.alibaba.com>,
	<guwen@linux.alibaba.com>, <linux-s390@vger.kernel.org>,
	<netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<luanjianhai@huawei.com>, <zhangxuzhou4@huawei.com>,
	<dengguangxing@huawei.com>, <gaochao24@huawei.com>
Subject: Re: [PATCH] net/smc: Optimize the search method of reused buf_desc
Date: Thu, 31 Oct 2024 19:06:52 -0700	[thread overview]
Message-ID: <20241031190652.5f775796@kernel.org> (raw)
In-Reply-To: <20241029065415.1070-1-liqiang64@huawei.com>

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

  reply	other threads:[~2024-11-01  2:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-29  6:54 [PATCH] net/smc: Optimize the search method of reused buf_desc liqiang
2024-11-01  2:06 ` Jakub Kicinski [this message]
2024-11-01  3:11   ` Li Qiang
2024-11-01  6:50 ` Dust Li
2024-11-01  8:27   ` Li Qiang
2024-11-04  1:41 ` D. Wythe
2024-11-04  7:34   ` Li Qiang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241031190652.5f775796@kernel.org \
    --to=kuba@kernel.org \
    --cc=alibuda@linux.alibaba.com \
    --cc=dengguangxing@huawei.com \
    --cc=gaochao24@huawei.com \
    --cc=guwen@linux.alibaba.com \
    --cc=jaka@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=liqiang64@huawei.com \
    --cc=luanjianhai@huawei.com \
    --cc=netdev@vger.kernel.org \
    --cc=tonylu@linux.alibaba.com \
    --cc=wenjia@linux.ibm.com \
    --cc=zhangxuzhou4@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.