Re: 0n the heels on 10khz patch for 2.6 here is the patch for 2.4 hot of the press

From: Pavel Machek
Date: Fri Dec 26 2003 - 18:26:43 EST


Hi!

> just wanted to thank Jean-Marc Valin for the 10khz patch,
> here is the patch for 2.4, it boots for me for 2.4G HT/SMP enabled CPU
> but YMMV
>
> i am not subscribed to the list so please cc me personally
> if it were not for kerneltrap i would have never seen the original
> patch

First, it is preferable to inline patches.

> diff -urN linux-2.4.22/arch/i386/kernel/apic.c 10klinux-2.4.22/arch/i386/kernel/apic.c
> --- linux-2.4.22/arch/i386/kernel/apic.c 2003-06-13 07:51:29.000000000 -0700
> +++ 10klinux-2.4.22/arch/i386/kernel/apic.c 2003-12-15 17:55:37.000000000 -0800
> @@ -767,7 +767,7 @@
> * chipset timer can cause.
> */
>
> - } while (delta < 300);
> + } while (delta < 30);
> }
>
> /*


Second, I'm not sure how good idea this is. Others are bugfixes, but
this has ability to break stuff.

Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
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/