Thread (3 messages) 3 messages, 2 authors, 28d ago

Re: [PATCH] ipvs: Use flexible array for MH lookup table

From: Julian Anastasov <ja@ssi.bg>
Date: 2026-05-22 17:12:43
Also in: lkml, lvs-devel, netfilter-devel

	Hello,

On Mon, 18 May 2026, Rosen Penev wrote:
Store the Maglev hash lookup table in the scheduler state
allocation instead of allocating it separately.

This keeps the lookup table tied to the RCU-freed state lifetime and
simplifies the allocation and cleanup paths.

Assisted-by: Codex:GPT-5.5
Signed-off-by: Rosen Penev <redacted>
	Thanks for the efforts but it is better to keep the table 
allocated separately. As Sashiko [1] points out, the table size is
properly selected and we risk double-sized allocations if we apply
this patch.

	As for the problem in ip_vs_edit_service(), I have to
provide separate bugfix...

[1]:
https://sashiko.dev/#/patchset/20260519015506.634185-1-rosenp%40gmail.com

Regards

--
Julian Anastasov [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help