Skip to content

Commit

Permalink
Ignore the numa node without cpu
Browse files Browse the repository at this point in the history
Signed-off-by: liang-cong-red-hat <[email protected]>
  • Loading branch information
liang-cong-red-hat committed Sep 30, 2024
1 parent 49de846 commit 9aba8a0
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,6 @@ def get_cpus_by_numad_advisory(test_obj):
if cpus_from_numactl:
cpus_from_numactl = cpus_from_numactl[0].strip().split(' ')
cpus_from_numactl = [int(item) for item in cpus_from_numactl]
else:
test_obj.test.error("Can not find node %s's cpus" % nodeset_numad)
cpus += cpus_from_numactl
test_obj.test.log.debug("The cpus on the node advised by numad: %s", cpus)
return sorted(cpus)
Expand Down

0 comments on commit 9aba8a0

Please sign in to comment.