netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steffen Klassert <steffen.klassert@secunet.com>
To: Sebastian Sewior <bigeasy@linutronix.de>
Cc: Alexei Starovoitov <alexei.starovoitov@gmail.com>,
	Network Development <netdev@vger.kernel.org>,
	Jakub Kicinski <kuba@kernel.org>
Subject: Re: xfrm in RT
Date: Fri, 17 Jan 2025 09:17:38 +0100	[thread overview]
Message-ID: <Z4oSIkXb8e3GJSaC@gauss3.secunet.de> (raw)
In-Reply-To: <20241218160745.G1WJ-lWR@linutronix.de>

On Wed, Dec 18, 2024 at 05:07:45PM +0100, Sebastian Sewior wrote:
> On 2024-12-18 16:44:27 [+0100], To Steffen Klassert wrote:
> > time (your current get_cpu() -> put_cpu() span) you could do something
> > like
> 
> While at, may I promote rcuref? This would get rid of your cmpxchg()
> loop that you have otherwise in refcount_inc_not_zero(). In case you
> have performance test:

I have currently no test setup running that could show a performance
difference, but anyway the change looks OK to me.

  reply	other threads:[~2025-01-17  8:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-18  0:07 xfrm in RT Alexei Starovoitov
2024-12-18  8:32 ` Steffen Klassert
2024-12-18 15:44   ` Sebastian Sewior
2024-12-18 16:07     ` Sebastian Sewior
2025-01-17  8:17       ` Steffen Klassert [this message]
2025-01-17  8:02     ` Steffen Klassert
2025-01-23 16:20       ` [PATCH net] xfrm: Don't disable preemption while looking up cache state Sebastian Sewior
2025-01-27  5:33         ` Steffen Klassert

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=Z4oSIkXb8e3GJSaC@gauss3.secunet.de \
    --to=steffen.klassert@secunet.com \
    --cc=alexei.starovoitov@gmail.com \
    --cc=bigeasy@linutronix.de \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).