Re: 2.6.18-rc4-mm1

From: Atsushi Nemoto
Date: Tue Aug 15 2006 - 10:03:33 EST


On Mon, 14 Aug 2006 19:54:29 +0200, "Rafael J. Wysocki" <rjw@xxxxxxx> 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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/