diff options
author | 2024-02-14 11:20:14 +0000 | |
---|---|---|
committer | 2024-02-14 11:20:14 +0000 | |
commit | 7c754e6a6c94804b6c7c87e56a2fdcfa970e5ad7 (patch) | |
tree | 088d0a5f622367220d14e500928bbd2532d82756 /Documentation | |
parent | Merge branch 'per-epoll-context-busy-poll' (diff) | |
parent | net: remove dev_base_lock (diff) | |
download | linux-7c754e6a6c94804b6c7c87e56a2fdcfa970e5ad7.tar.gz linux-7c754e6a6c94804b6c7c87e56a2fdcfa970e5ad7.tar.bz2 linux-7c754e6a6c94804b6c7c87e56a2fdcfa970e5ad7.zip |
Merge branch 'dev_base_lock-remove'
Eric Dumazet says:
====================
net: complete dev_base_lock removal
Back in 2009 we started an effort to get rid of dev_base_lock
in favor of RCU.
It is time to finish this work.
Say goodbye to dev_base_lock !
v4: rebase, and move dev_addr_sem to net/core/dev.h in patch 06/13 (Jakub)
v3: I misread kbot reports, the issue was with dev->operstate (patch 10/13)
So dev->reg_state is back to u8, and dev->operstate becomes an u32.
Sorry for the noise.
v2: dev->reg_state must be a standard enum, some arches
do not support cmpxchg() on u8.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/networking/netdevices.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/networking/netdevices.rst b/Documentation/networking/netdevices.rst index 9e4cccb90b87..c2476917a6c3 100644 --- a/Documentation/networking/netdevices.rst +++ b/Documentation/networking/netdevices.rst @@ -252,8 +252,8 @@ ndo_eth_ioctl: Context: process ndo_get_stats: - Synchronization: rtnl_lock() semaphore, dev_base_lock rwlock, or RCU. - Context: atomic (can't sleep under rwlock or RCU) + Synchronization: rtnl_lock() semaphore, or RCU. + Context: atomic (can't sleep under RCU) ndo_start_xmit: Synchronization: __netif_tx_lock spinlock. |