Skip to content

Commit

Permalink
Fix NUMA node in cpuset warning
Browse files Browse the repository at this point in the history
  • Loading branch information
wingo committed Dec 11, 2017
1 parent 378701c commit 4e96594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/cpuset.lua
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function CPUSet:acquire(on_node)
for node, cpus in pairs(self.by_node) do
for cpu, avail in pairs(cpus) do
if avail then
print("Warning: No CPU available on local NUMA node "..node)
print("Warning: No CPU available on local NUMA node "..on_node)
print("Warning: Assigning CPU "..cpu.." from remote node "..node)
cpus[cpu] = false
return cpu
Expand Down

0 comments on commit 4e96594

Please sign in to comment.