Skip to content

kobject: reduce uevent_sock_mutex contention

Eric Dumazet lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2kobject: make uevent_seqnum atomicinclude/linux/kobject.h kernel/ksysfs.c lib/kobject_uevent.c+11 -101 reply
2/2kobject: reduce uevent_sock_mutex scopelib/kobject_uevent.c+3 -61 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchChristian Brauner
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] kobject: reduce uevent_sock_mutex contention

This series reduces the (small ?) contention over uevent_sock_mutex, noticed when creating/deleting many network namespaces/devices.

1) uevent_seqnum becomes an atomic64_t

2) Only acquire uevent_sock_mutex whenever using uevent_sock_list

Eric Dumazet (2):
kobject: make uevent_seqnum atomic
kobject: reduce uevent_sock_mutex scope

 include/linux/kobject.h |  2 +-
 kernel/ksysfs.c         |  2 +-
 lib/kobject_uevent.c    | 24 +++++++++++-------------
 3 files changed, 13 insertions(+), 15 deletions(-)
Signature · 1 line
2.43.0.687.g38aa6559b0-goog