[haiku-development] Re: Disabling CPU disabling

  • From: Fredrik Andersson <fredrikandersson@xxxxxxx>
  • To: "haiku-development@xxxxxxxxxxxxx" <haiku-development@xxxxxxxxxxxxx>
  • Date: Fri, 25 Oct 2013 20:19:11 +0200

Just for consideration, this feature is in now way unique to Haiku/BeOS.
It's available historically for diagnostistic reasons, today it's added to more 
and more systems as it allows some significant energy saving. (Linux can only 
do it via a restart though)

Also does it really clutter the source significantly? if so it sounds like the 
scheduler needs some refactoring?

OS X
https://developer.apple.com/library/mac/qa/qa1141/_index.html

Windows
http://bitsum.com/about_cpu_core_parking.php

> 25 okt 2013 kl. 19:26 skrev Jérôme Duval <korli@xxxxxxxxxxxxxxxx>:
> 
> 2013/10/25 Pawel Dziepak <pdziepak@xxxxxxxxxxx>:
>> Since the scheduler code has grown quite big I am trying to remove as
>> much unnecessary logic as possible. The thing that caught my attention
>> is the possibility to disable a logical processor.
> 
> A theorical use case would be hotplugging/unplugging a CPU. It's not
> that we plan to support that anytime soon though :)
> 
> Bye,
> Jérôme
> 

Other related posts: