From mboxrd@z Thu Jan 1 00:00:00 1970 From: Len Brown Subject: Re: [PATCH 3/5] processor: always demote to next lower state Date: 23 Dec 2004 15:10:03 -0500 Message-ID: <1103832603.4385.19.camel@d845pe> References: <20041223140747.GC7973@dominikbrodowski.de> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20041223140747.GC7973-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org> Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Dominik Brodowski Cc: ACPI Developers List-Id: linux-acpi@vger.kernel.org Applied. thanks, -Len On Thu, 2004-12-23 at 09:07, Dominik Brodowski wrote: > Let C4 demote to C3, not directly to C2. > > Signed-off-by: Dominik Brodowski > --- > > 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.c > 2004-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 +0100 > @@ -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/