Re: 2.6.18-rc4-mm1

Atsushi Nemoto
2006-08-15T14:06:04Z

On Mon, 14 Aug 2006 19:54:29 +0200, "Rafael J. Wysocki" <rjw@sisk.pl> wrote:
> simplify-update_times-avoid-jiffies-jiffies_64-aliasing-problem.patch
>
> makes my x86_64 SMP box (dual-core Athlon 64 on an ULi-based AsRock mobo) run
> _very_ slow (it would take tens of minutes to boot the box if I were as
> patient as to wait for that).
>
> Strangely enough, on a non-SMP box I have tested it on it works just fine.

Oh, my fault.

Could you retry with this patch?

diff -urp linux-2.6.18-rc4-mm1.org/arch/x86_64/kernel/time.c linux-2.6.18-rc4-mm1/arch/x86_64/kernel/time.c
--- linux-2.6.18-rc4-mm1.org/arch/x86_64/kernel/time.c 2006-08-13 22:59:27.000000000 +0900
+++ linux-2.6.18-rc4-mm1/arch/x86_64/kernel/time.c 2006-08-15 23:01:55.631372704 +0900
@@ -417,6 +417,8 @@ void main_timer_handler(struct pt_regs *

if (lost > 0)
handle_lost_ticks(lost, regs);
+ else
+ lost = 0;

/*
* Do the timer stuff.