I find the code in 2.6.36 menu.c (cpuidle)
for (i = CPUIDLE_DRIVER_STATE_START; i < dev->state_count; i++) {
287 struct cpuidle_state *s = &dev->states[i];
289 if (s->flags & CPUIDLE_FLAG_IGNORE)
290 continue;
291 if (s->target_residency > data->predicted_us)
292 continue;
293 if (s->exit_latency > latency_req)
294 continue;
Why continue? Not break ?? Before 2.6.36 , break is used here, I can understand.
But now , I don't know why continue for the remaining state??
wkq
_______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm