From 84c298465f6360a8694d4837f3420961ea321fa5 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Thu, 19 Jan 2023 10:49:47 +0100 Subject: Decoupling loops from threads to allow fixed thread count On large configurations, too many threads would spawn with one thread per loop. Therefore, threads may now run multiple loops at once. The thread count is configurable and may be changed during run. All threads are spawned on startup. This change helps with memory bloating. BIRD filters need large temporary memory blocks to store their stack and also memory management keeps its hot page storage per-thread. Known bugs: * Thread autobalancing is not yet implemented. * Low latency loops are executed together with standard loops. --- lib/event.h | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/event.h') diff --git a/lib/event.h b/lib/event.h index 0bef737a..6fd9f31c 100644 --- a/lib/event.h +++ b/lib/event.h @@ -11,7 +11,6 @@ #include "lib/resource.h" #include "lib/locking.h" -#include "lib/rcu.h" #include -- cgit v1.2.3