netns: uevent performance tweaks
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 15 repliesIn review
- v12 patches 2 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | netns: restrict ueventslib/ | +12 | 12 replies | |
| 2/2 | netns: isolate seqnums to use per-netns locksinclude/ include/ kernel/ +2 more | +114 | 3 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Eric W. Biederman |
|---|---|
| 1/2 | A-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/2 v2] netns: uevent performance tweaks
Hey everyone,
This is v2 of "netns: uevent performance tweaks" which contains *no functional changes* just a minor indendation fix as requested by David.
Like Eric requested, I did extensive testing that prove significant performance improvements when using per-netns uevent sequence numbers with decoupled locks. The results and test descriptions were added to the commit message of
[PATCH 2/2 v1] netns: isolate seqnums to use per-netns locks.
This series deals with a bunch of performance improvements when sending out uevents that have been extensively discussed here:
https://lkml.org/lkml/2018/4/10/592
- Only record uevent sockets from network namespaces owned by the initial user namespace in the global uevent socket list. Eric, this is the exact patch we agreed upon in
https://lkml.org/lkml/2018/4/10/592.
A very detailed rationale is present in the commit message for [PATCH 1/2] netns: restrict uevents
- Decouple the locking for network namespaces in the global uevent socket list from the locking for network namespaces not in the global uevent socket list.
A very detailed rationale including performance test results is present in the commit message for
[PATCH 2/2] netns: isolate seqnums to use per-netns locks
Thanks!
Christian
Christian Brauner (2):
netns: restrict uevents
netns: isolate seqnums to use per-netns locks
include/linux/kobject.h | 2 + include/net/net_namespace.h | 3 + kernel/ksysfs.c | 11 +++- lib/kobject_uevent.c | 122 ++++++++++++++++++++++++++++-------- net/core/net_namespace.c | 14 +++++ 5 files changed, 126 insertions(+), 26 deletions(-)
Signature · 1 line
2.17.0