processor: always demote to next lower state
PATCH 3/5 processor: always demote to next lower state
Let C4 demote to C3, not directly to C2.
---
drivers/acpi/processor_idle.c | 5 +---- 1 files changed, 1 insertion(+), 4 deletions(-)
drivers/acpi/processor_idle.c +1 -4
@@ -425,10 +425,7 @@ cx->demotion.threshold.bm =0x0F ; } -/* from C3 we always demote to C2, even if there are multiple -* states of type C3 available. */ -if (cx->type <ACPI_STATE_C3 ) - lower = cx; + lower = cx; }/* promotion */
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
A message that is not in the archive (sent off-list or not yet received): 20041223140747.GC7973-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org
Len Brown
AppliedApplied.
thanks,
-Len
Quoted 22 lines · Dominik Brodowski
Let C4 demote to C3, not directly to C2.
Signed-off-by Dominik Brodowski <[email protected]>---
drivers/acpi/processor_idle.c | 5 +---- 1 files changed, 1 insertion(+), 4 deletions(-)Index:
linux-2.6.10-rc3+bk-acpi/drivers/acpi/processor_idle.c
===================================================================
---linux-2.6.10-rc3+bk-acpi.orig/drivers/acpi/processor_idle.c2004-12-23 14:25:23.854099002 +0100 +++ linux-2.6.10-rc3+bk-acpi/drivers/acpi/processor_idle.c 2004-12-23 14:25:28.737417644 +0100drivers/acpi/processor_idle.c +0
-1@@ -425,10 +425,7 @@ cx->demotion.threshold.bm =0x0F ; } -/* from C3 we always demote to C2, even if there are multiple
drivers/acpi/processor_idle.c line 431
Quoted 7 lines
drivers/acpi/processor_idle.c +1
-3-* states of type C3 available. */ -if (cx->type <ACPI_STATE_C3 ) - lower = cx; + lower = cx; }/* promotion */
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/