lkml.org 
[lkml]   [2008]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 01/16] 2.6.25 regression: powertop says 120K wakeups/sec
    2.6.25-stable review patch.  If anyone has any objections, please let us know.

    ------------------

    From: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>

    commit 0fda6b403f0eca66ad8a7c946b3996e359100443 upstream

    Patch to fix huge number of wakeups reported due to recent changes in
    processor_idle.c. The problem was that the entry_method determination was
    broken due to one of the recent commits (bc71bec91f987) causing
    C1 entry to not to go to halt.

    http://lkml.org/lkml/2008/3/22/124

    Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
    Signed-off-by: Len Brown <len.brown@intel.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/acpi/processor_idle.c | 4 ++++
    1 file changed, 4 insertions(+)

    --- a/drivers/acpi/processor_idle.c
    +++ b/drivers/acpi/processor_idle.c
    @@ -848,6 +848,7 @@ static int acpi_processor_get_power_info
    /* all processors need to support C1 */
    pr->power.states[ACPI_STATE_C1].type = ACPI_STATE_C1;
    pr->power.states[ACPI_STATE_C1].valid = 1;
    + pr->power.states[ACPI_STATE_C1].entry_method = ACPI_CSTATE_HALT;
    }
    /* the C0 state only exists as a filler in our array */
    pr->power.states[ACPI_STATE_C0].valid = 1;
    @@ -960,6 +961,9 @@ static int acpi_processor_get_power_info
    cx.address);
    }

    + if (cx.type == ACPI_STATE_C1) {
    + cx.valid = 1;
    + }

    obj = &(element->package.elements[2]);
    if (obj->type != ACPI_TYPE_INTEGER)
    --


    \
     
     \ /
      Last update: 2008-05-08 19:47    [W:3.118 / U:0.100 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site