[PATCH v3 2/2] sched: fix update NOHZ_IDLE flag

2013-02-08 Thread Vincent Guittot
The function nohz_kick_needed modifies NOHZ_IDLE flag that is used to update the nr_busy_cpus of the sched_group. When the sched_domain are updated (during the boot or because of the unplug of a CPUs as an example) a null_domain is attached to CPUs. We have to test likely(!on_null_domain(cpu)

[PATCH v3 2/2] sched: fix update NOHZ_IDLE flag

2013-02-08 Thread Vincent Guittot
The function nohz_kick_needed modifies NOHZ_IDLE flag that is used to update the nr_busy_cpus of the sched_group. When the sched_domain are updated (during the boot or because of the unplug of a CPUs as an example) a null_domain is attached to CPUs. We have to test likely(!on_null_domain(cpu)