Thread (9 messages) 9 messages, 4 authors, 2023-10-04

Re: [PATCH net v2] net: team: get rid of team->lock in team module

flat view

From: Jakub Kicinski <kuba@kernel.org>
Date: 2023-10-04 13:52:08

On Sat, 16 Sep 2023 13:11:15 +0000 Taehee Yoo wrote:
The purpose of team->lock is to protect the private data of the team
interface. But RTNL already protects it all well.
The precise purpose of the team->lock is to reduce contention of
RTNL due to GENL operations such as getting the team port list, and
configuration dump.
FTR I like this patch. My understanding is that team has relatively
low adoption (RHEL dropped the support completely?). The granular
lock is not necessary.

We're spending time trying to preserve and unnecessary optimization
in rarely used driver :(
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help