Skip to content

Commit

Permalink
cpuallocator: fix cpu priority discovery
Browse files Browse the repository at this point in the history
The CPU priorities were discovered correctly but not stored in the
cpuallocator so they were effectively discarded.
  • Loading branch information
marquiz committed Jan 18, 2023
1 parent 01cf8c2 commit daa821d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/cpuallocator/allocator.go
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ func (c *topologyCache) discoverCPUPriorities(sys sysfs.System) {
prio[p] = prio[p].Union(cset)
}
}
c.cpuPriorities = prio
}

func (c *topologyCache) discoverSstCPUPriority(sys sysfs.System, pkgID idset.ID) ([NumCPUPriorities][]idset.ID, bool) {
Expand Down

0 comments on commit daa821d

Please sign in to comment.