On 19.02.21 17:35, John Kacur wrote:
"rt-numa: Use mask size for iterator limit" "rt-numa: Remove max_cpus argument from parse_cpusmask"Are those actually bug fixes or just a different way of doing things?
max_cpus is just giving you the number of available CPUs. The loop assumes that all are in the range of [0..max_cpus] which is not necessarily true. You need to iterate over all possible CPUs. That is why passing in max_cpus is pretty useless.