From 9ee0de33a03f354f0ec692066c29cc445d83016a Mon Sep 17 00:00:00 2001 From: Krisztian Litkey Date: Sat, 30 Nov 2024 16:47:46 +0200 Subject: [PATCH] topology-aware: ensure all hints are fully resolved. Resolve potential partial NUMA-only topology hints to full CPU hints. Signed-off-by: Krisztian Litkey --- cmd/plugins/topology-aware/policy/resources.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/plugins/topology-aware/policy/resources.go b/cmd/plugins/topology-aware/policy/resources.go index f6d25a7d7..52c739605 100644 --- a/cmd/plugins/topology-aware/policy/resources.go +++ b/cmd/plugins/topology-aware/policy/resources.go @@ -831,6 +831,7 @@ func (cs *supply) GetScore(req Request) Score { // calculate real hint scores hints := cr.container.GetTopologyHints() + hints.ResolvePartialHints(cs.GetNode().System().NodeHintToCPUs) score.hints = make(map[string]float64, len(hints)) for provider, hint := range cr.container.GetTopologyHints() {