Thread (10 messages) 10 messages, 3 authors, 1d ago

Re: [PATCH v2 net-next 3/5] neighbour: Schedule neigh_managed_work only when needed.

flat view

From: Ido Schimmel <idosch@nvidia.com>
Date: 2026-10-14 07:01:04

On Tue, Oct 13, 2026 at 08:57:30PM +0000, Kuniyuki Iwashima wrote:
neigh_table is now per-netns.

tbl->managed_work is scheduled when netns is created and runs
periodically even though the netns does not have any NTF_MANAGED
entries.

Let's delay scheduling the work for the first NTF_MANAGED entry
and stop rescheduling if tbl->managed_list is empty.

Suggested-by: Ido Schimmel <idosch@nvidia.com>
Link: https://lore.kernel.org/netdev/20260902143023.GA3966681@shredder/ (local)
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help