]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net-sysfs: get rid of rps_dev_flow_lock
authorEric Dumazet <edumazet@google.com>
Mon, 2 Mar 2026 18:14:30 +0000 (18:14 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 5 Mar 2026 00:54:10 +0000 (16:54 -0800)
commit68b6394a220b782586e30d0efb94633ccaef9c8d
tree3e0577adff72deeb228f29bd0884b8a20a8ec65e
parentdd378109d20ff6789091fa3558607c1d242d80ad
net-sysfs: get rid of rps_dev_flow_lock

Use unrcu_pointer() and xchg() in store_rps_dev_flow_table_cnt()
instead of a dedicated spinlock.

Make a similar change in rx_queue_release(), so that both
functions use a similar construct and synchronization.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260302181432.1836150-6-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/net-sysfs.c