Re: [tip:sched/core] sched, nohz: Exclude isolated cores from load balancing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2014-02-24 at 10:11 +0800, Lei Wen wrote:

> How about use the API as cpumask_test_and_clear_cpu?
> Then below one line is enough.

Yeah.

> +               if (likely(cpumask_test_and_clear_cpu(cpu,
> nohz.idle_cpus_mask))) {
> 
> And I am not pretty sure whether we need such test here.

It was born because I watched me wreck nohz.nr_cpus :)

-Mike

--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux