diff --git a/tuned/plugins/plugin_irq.py b/tuned/plugins/plugin_irq.py index 09684383..ee25bf44 100644 --- a/tuned/plugins/plugin_irq.py +++ b/tuned/plugins/plugin_irq.py @@ -94,7 +94,7 @@ def _instance_init(self, instance): instance._has_static_tuning = True instance._has_dynamic_tuning = False - affinity = instance.options.get("affinity") + affinity = self._variables.expand(instance.options.get("affinity")) affinity_list = self._cmd.cpulist_unpack(affinity) if len(affinity.strip()) == 0: # empty affinity in profile -> assume it's intentional @@ -105,7 +105,7 @@ def _instance_init(self, instance): log.error("Instance '%s' with invalid affinity '%s'. Deactivating." % (instance.name, affinity)) instance._active = False - mode = instance.options.get("mode") + mode = self._variables.expand(instance.options.get("mode")) if mode not in ["set", "intersect"]: log.error("Invalid operating mode '%s' for instance '%s'. Using the default 'set' instead." % (mode, instance.name))