Re: [PATCH net 0/3] Revert openvswitch per-CPU storage
From: Gal Pressman <hidden>
Date: 2025-06-10 07:08:22
Also in:
linux-rt-devel
On 10/06/2025 10:06, Sebastian Andrzej Siewior wrote:
On 2025-06-10 10:03:08 [+0300], Gal Pressman wrote:quoted
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.
Thanks Sebastian, looking forward to your patches.