Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zebra: Temporarily block the execution of the rib_process function wh…
…ile the thread t_dplane is waiting to be scheduled. This allows t_dplane to prioritize freeing up the cache structures of zebra_dplane_ctx. This addresses the issue where a large number of zebra_dplane_ctx nodes are cached on the rib_dplane_q when a surge of routes is inserted in a short period of time, leading to the consumption of a significant amount of temporary memory and potentially causing system memory overload and kernel OOM (Out of Memory) problems. Signed-off-by: hanyu.zly <[email protected]>
- Loading branch information