linux-rt-devel.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/3] Revert openvswitch per-CPU storage
@ 2025-06-10  6:26 Gal Pressman
  2025-06-10  6:26 ` [PATCH net 1/3] Revert "openvswitch: Move ovs_frag_data_storage into the struct ovs_pcpu_storage" Gal Pressman
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Gal Pressman @ 2025-06-10  6:26 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Andrew Lunn, netdev
  Cc: Aaron Conole, Eelco Chaudron, Ilya Maximets, Simon Horman,
	Sebastian Andrzej Siewior, Clark Williams, Steven Rostedt, dev,
	linux-rt-devel, Gal Pressman

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(-)

-- 
2.40.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-06-11 11:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-10  6:26 [PATCH net 0/3] Revert openvswitch per-CPU storage Gal Pressman
2025-06-10  6:26 ` [PATCH net 1/3] Revert "openvswitch: Move ovs_frag_data_storage into the struct ovs_pcpu_storage" Gal Pressman
2025-06-10  6:26 ` [PATCH net 2/3] Revert "openvswitch: Use nested-BH locking for ovs_pcpu_storage" Gal Pressman
2025-06-10  6:26 ` [PATCH net 3/3] Revert "openvswitch: Merge three per-CPU structures into one" Gal Pressman
2025-06-10  6:43 ` [PATCH net 0/3] Revert openvswitch per-CPU storage Sebastian Andrzej Siewior
2025-06-10  7:03   ` Gal Pressman
2025-06-10  7:06     ` Sebastian Andrzej Siewior
2025-06-10  7:08       ` Gal Pressman
2025-06-11  6:59         ` Sebastian Andrzej Siewior
2025-06-11 11:56           ` Gal Pressman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).