From 5fa2ba9bae1f3f86ad9aa5c13eefa0aff49fd7f4 Mon Sep 17 00:00:00 2001 From: Nataliia Solomko Date: Tue, 19 Aug 2025 17:28:44 +0300 Subject: T7678: Change node name to resource-limits --- src/conf_mode/system_option.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/conf_mode/system_option.py b/src/conf_mode/system_option.py index 92f644437..303557412 100755 --- a/src/conf_mode/system_option.py +++ b/src/conf_mode/system_option.py @@ -267,7 +267,7 @@ def apply(options): else: write_file(kernel_dynamic_debug, f'module {module} -p') - if 'host_resources' in options: + if 'resource_limits' in options: unit_map = {'M': 1 << 20, 'G': 1 << 30} total_pages = 0 @@ -283,8 +283,8 @@ def apply(options): max_map_count_min = 65530 # ensures large workload compatibility shmmax_min = 8589934592 # 8 GiB safe default for large allocations - max_map_count_conf = options['host_resources'].get('max_map_count', 'auto') - shmmax_conf = options['host_resources'].get('shmmax', 'auto') + max_map_count_conf = options['resource_limits'].get('max_map_count', 'auto') + shmmax_conf = options['resource_limits'].get('shmmax', 'auto') parameters = { 'vm.max_map_count': ( -- cgit v1.2.3