Re: [PATCH net-next 0/6] Allow parallel devlink execution

From: Jakub Kicinski
Date: Mon Dec 06 2021 - 21:00:35 EST


On Sun, 5 Dec 2021 10:22:00 +0200 Leon Romanovsky wrote:
> This is final piece of devlink locking puzzle, where I remove global
> mutex lock (devlink_mutex), so we can run devlink commands in parallel.
>
> The series starts with addition of port_list_lock, which is needed to
> prevent locking dependency between netdevsim sysfs and devlink. It
> follows by the patch that adds context aware locking primitives. Such
> primitives allow us to make sure that devlink instance is locked and
> stays locked even during reload operation. The last patches opens
> devlink to parallel commands.

I'm not okay with assuming that all sub-objects are added when devlink
is not registered.