netns: Optimise netns ID lookups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | netns: Remove __peernet2id_alloc()net/ | +23 | 0 replies | |
| 2/3 | netns: protect netns ID lookups with RCUnet/ | +7 | 0 replies | |
| 3/3 | netns: don't disable BHs when locking "nsid_lock"net/ | +11 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/3] netns: Optimise netns ID lookups
Netns ID lookups can be easily protected by RCU, rather than by holding a spinlock.
Patch 1 prepares the code, patch 2 does the RCU conversion, and finally patch 3 stops disabling BHs on updates (patch 2 makes that unnecessary).
Guillaume Nault (3):
netns: Remove __peernet2id_alloc()
netns: protect netns ID lookups with RCU
netns: don't disable BHs when locking "nsid_lock"
net/core/net_namespace.c | 93 ++++++++++++++++------------------------ 1 file changed, 38 insertions(+), 55 deletions(-)
Signature · 1 line
2.21.1