What’s a CPU to do when it has nothing to do?

It would be reasonable to expect doing nothing to be an easy, simple task for a kernel, but it isn’t. At Kernel Recipes 2018, Rafael Wysocki discussed what CPUs do when they don’t have anything to do, how the kernel handles this, problems inherent in the current strategy, and how his recent rework of the kernel’s idle loop has improved power consumption on systems that aren’t doing anything.

I had no idea doing nothing was this complex.

7 Comments

  1. 2018-10-11 9:48 pm
  2. 2018-10-12 7:06 am
    • 2018-10-12 9:37 am
  3. 2018-10-12 1:20 pm
  4. 2018-10-13 2:22 pm
    • 2018-10-13 2:31 pm