On 1 February 2012 20:27, Matthew Garrett <mjg@xxxxxxxxxx> wrote: > On Tue, Dec 13, 2011 at 08:43:16PM +0530, Amit Daniel Kachhap wrote: >> This patch adds support for generic cpu thermal cooling low level >> implementations using frequency scaling and cpuhotplugg currently. > > We've been over this kind of thing in the past. cpu hotplug is a > relatively expensive operation, so people have previously been > enthusiastic about using the scheduler to simply avoid running anything > on CPUs if they're overheating. Has any general consensus been reached > on this? yes you are right that cpuhotplug is an expensive process and it may further heat up the system before turning off so the ideal way would be to reduce the capacity of the cpu gradually. Anyway these patches are only exporting those API's and the actual use of them depends on the user. Although my bigger focus is on cpufreq as cooling devices so I might remove cpuhotplug in the next version. > > I'm also not entirely thrilled at now having two ways to manage the cpu > through the thermal layer. ACPI already plugs in via the passive trip > points. If we're going to do this then I'd like to see the ACPI code > merged in with the generic cpu cooling code. Yeah I also agree that there is a kind of repetition and not entirely sure where to place these codes. I will try adding them inside acpi. Thanks for the suggestion. > > -- > Matthew Garrett | mjg59@xxxxxxxxxxxxx _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/linux-pm