Thread (10 messages) 10 messages, 2 authors, 2025-06-11

Re: [PATCH net 0/3] Revert openvswitch per-CPU storage

From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: 2025-06-10 07:06:32
Also in: linux-rt-devel

On 2025-06-10 10:03:08 [+0300], Gal Pressman wrote:
On 10/06/2025 9:43, Sebastian Andrzej Siewior wrote:
quoted
On 2025-06-10 09:26:28 [+0300], Gal Pressman wrote:
quoted
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.
Is the limited per-CPU storage the only problem? If so I would towards a
different solution rather than reverting everything.
I don't know if this is the only problem, we can't load the module
starting with these patches.

I suggest continuing with the reverts as I assume your new solution will
be net-next material, no?
It is a regression in -rc1 so I would try to fix this on top of -rc1
instead of reverting everything.

Sebastian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help