gazelle/0301-remove-app_bind_numa-check-from-exclude_cpus.patch
yinbin6 b0d5ff21f3 sync cfg: notify that it's unsupported, when stack_num > 1
(cherry picked from commit b1760d0d313fd266303f70595be2f6e2f38a5c68)
2024-12-11 17:39:53 +08:00

27 lines
765 B
Diff

From d51c2a23a52d2a2db501abe8cf75c6c2e4fe6bf3 Mon Sep 17 00:00:00 2001
From: compile_success <980965867@qq.com>
Date: Wed, 11 Dec 2024 03:06:17 +0000
Subject: [PATCH] remove app_bind_numa check from exclude_cpus
---
src/lstack/core/lstack_cfg.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/lstack/core/lstack_cfg.c b/src/lstack/core/lstack_cfg.c
index 7545726..6a544b4 100644
--- a/src/lstack/core/lstack_cfg.c
+++ b/src/lstack/core/lstack_cfg.c
@@ -527,9 +527,6 @@ static int32_t parse_app_exclude_cpus(void)
int32_t cnt;
g_config_params.app_exclude_num_cpu = 0;
- if (!g_config_params.app_bind_numa) {
- return 0;
- }
num_cpus = config_lookup(&g_config, "app_exclude_cpus");
if (num_cpus == NULL) {
--
2.33.0