netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Breno Leitao <leitao@debian.org>
Cc: "David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>,
	Amerigo Wang <amwang@redhat.com>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	kernel-team@meta.com
Subject: Re: [PATCH net] netpoll: guard __netpoll_send_skb() with RCU read lock
Date: Tue, 4 Mar 2025 17:47:32 -0800	[thread overview]
Message-ID: <20250304174732.2a1f2cb5@kernel.org> (raw)
In-Reply-To: <20250303-netpoll_rcu_v2-v1-1-6b34d8a01fa2@debian.org>

On Mon, 03 Mar 2025 03:44:12 -0800 Breno Leitao wrote:
> +	guard(rcu)();

Scoped guards if you have to.
Preferably just lock/unlock like a normal person..

  reply	other threads:[~2025-03-05  1:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-03 11:44 [PATCH net] netpoll: guard __netpoll_send_skb() with RCU read lock Breno Leitao
2025-03-05  1:47 ` Jakub Kicinski [this message]
2025-03-05  9:09   ` Breno Leitao
2025-03-05 16:07     ` Jakub Kicinski
2025-03-05 16:09     ` Andrew Lunn
2025-03-05 18:51       ` Breno Leitao

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=20250304174732.2a1f2cb5@kernel.org \
    --to=kuba@kernel.org \
    --cc=amwang@redhat.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=kernel-team@meta.com \
    --cc=leitao@debian.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.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 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).