All of lore.kernel.org
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Jakub Kicinski <kuba@kernel.org>
Cc: davem@davemloft.net, netdev@vger.kernel.org, edumazet@google.com,
	pabeni@redhat.com, andrew+netdev@lunn.ch, horms@kernel.org,
	sdf.kernel@gmail.com
Subject: Re: [PATCH net-next v2 1/2] net: use two lockdep classes for the netdev instance lock
Date: Tue, 29 Sep 2026 11:30:59 +0000	[thread overview]
Message-ID: <179068145953.441753.11648229589931188230.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260926041832.1649675-1-kuba@kernel.org>

Hello:

This series was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Fri, 25 Sep 2026 21:18:31 -0700 you wrote:
> netdev_lockdep_set_classes() puts dev->lock in a separate lockdep class,
> by type (netkit vs dummy etc), with the intent of keeping the instance
> locks of individual devices as independent from each other as possible.
> In practice it does the opposite. lockdep only calls the cmp_fn for locks
> of the same class, so netdev_lock_cmp_fn() never gets a say when devices
> from different classes are nested. Instead lockdep records a dependency
> between the classes, and reports a circular locking problem as soon as
> the nesting happens the other way round, e.g. when devices are unregistered
> in a batch.
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/2] net: use two lockdep classes for the netdev instance lock
    https://git.kernel.org/netdev/net-next/c/b6f74dff6d26
  - [net-next,v2,2/2] selftests: net: add test for netdev instance lock ordering on unregister
    https://git.kernel.org/netdev/net-next/c/e542bad8d52e

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



      parent reply	other threads:[~2026-09-29 11:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-26  4:18 [PATCH net-next v2 1/2] net: use two lockdep classes for the netdev instance lock Jakub Kicinski
2026-09-26  4:18 ` [PATCH net-next v2 2/2] selftests: net: add test for netdev instance lock ordering on unregister Jakub Kicinski
2026-09-26  7:08 ` [PATCH net-next v2 1/2] net: use two lockdep classes for the netdev instance lock Eric Dumazet
2026-09-28 18:21   ` Jakub Kicinski
2026-09-28 16:40 ` Stanislav Fomichev
2026-09-29 11:19 ` Paolo Abeni
2026-09-29 11:30 ` patchwork-bot+netdevbpf [this message]

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=179068145953.441753.11648229589931188230.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=sdf.kernel@gmail.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.