On 04-04-18, 10:50, Daniel Lezcano wrote: > Mmh, that sounds very complex. May be it is simpler to count the number > of cluster and initialize the idle_cdev for each cluster and then go for > this loop with the cluster cpumask.
Maybe not sure. I have had such code in the past and it was quite straight forward to understand :) You can go with whichever version you like. -- viresh