[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Suspend to RAM on iBook with 2.6.24 doesn't work



Hallo Elimar,

Elimar Riesebieter <riesebie@lxtec.de> wrote:
> On Sun, 18 Nov 2007 the mental interface of
> Jörg Sommer told:
>> I use 2.6.24-rc3 and now suspend and resume works without unloading the
>> modules before suspending. But I've a very high cpu load from hardware
>> interrupts.
>
> Confirmed, Huu, up to 70 % but no fan runs at high speed?
> $ cat /sys/devices/temperatures/sensor1_temperature
> 41
>
>> BTW: Where can I report such bugs? Here:
>> 
>> LINUX FOR POWERPC
>> P:      Paul Mackerras
>> M:      paulus@samba.org
>> W:      http://www.penguinppc.org/
>> L:      linuxppc-dev@ozlabs.org
>
> Of course yes;)

Today, Tony Breeds posted a patch on this list and it solves the problem
at me:
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c
index 41e13f4..b9d8837 100644
--- a/arch/powerpc/kernel/process.c
+++ b/arch/powerpc/kernel/process.c
@@ -350,7 +350,7 @@ struct task_struct *__switch_to(struct task_struct *prev,
        local_irq_save(flags);

        account_system_vtime(current);
-       account_process_tick(current, 0);
+       account_process_vtime(current);
        calculate_steal_time();

        last = _switch(old_thread, new_thread);

Bye, Jörg.
-- 
Wer einen Traum verwirklichen will, muss erst aufwachen.



Reply to: