Skip to content

Revert openvswitch per-CPU storage

Gal Pressman linux-rt-devel netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Revert "openvswitch: Move ovs_frag_data_storage into the struct ovs_pcpu_storage"net/openvswitch/actions.c net/openvswitch/datapath.h+18 -180 replies
2/3Revert "openvswitch: Use nested-BH locking for ovs_pcpu_storage"net/openvswitch/actions.c net/openvswitch/datapath.c net/openvswitch/datapath.h+29 -590 replies
3/3Revert "openvswitch: Merge three per-CPU structures into one"net/openvswitch/actions.c net/openvswitch/datapath.c net/openvswitch/datapath.h+44 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/3] Revert openvswitch per-CPU storage

This patch series reverts a set of changes that consolidated per-CPU storage structures in the openvswitch module.

The original changes were intended to improve performance and reduce complexity by merging three separate per-CPU structures into one, but they have changed openvswitch to use static percpu allocations, and exhausted the reserved chunk on module init.
This results in allocation of struct ovs_pcpu_storage (6488 bytes) failure on ARM.

The reverts are applied in reverse order of the original commits.

Gal Pressman (3):
Revert "openvswitch: Move ovs_frag_data_storage into the struct
ovs_pcpu_storage"
Revert "openvswitch: Use nested-BH locking for ovs_pcpu_storage" Revert "openvswitch: Merge three per-CPU structures into one"

 net/openvswitch/actions.c  | 86 ++++++++++++++++++++++++++++++++------
 net/openvswitch/datapath.c | 33 ++++-----------
 net/openvswitch/datapath.h | 52 ++---------------------
 3 files changed, 84 insertions(+), 87 deletions(-)
Signature · 1 line
2.40.1