why menu.c in cpuidle continue ?

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

 



Hi,
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

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux