kobject: reduce uevent_sock_mutex contention
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | kobject: make uevent_seqnum atomicinclude/ kernel/ lib/ | +11 | 1 reply | |
| 2/2 | kobject: reduce uevent_sock_mutex scopelib/ | +3 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Christian Brauner |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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