Re: Double Interrupt with HT

From: Miroslaw KLABA
Date: Thu Dec 18 2003 - 19:33:37 EST


Hello,

This patch doesn't solve the problem.
`while true; do date; sleep 1; done` still counts twice the speed.

Thanks
Miro

Quoting Zwane Mwaikambo <zwane@xxxxxxxxxxxxxxxx>:

> On Thu, 18 Dec 2003, Miroslaw KLABA wrote:
>
> > My fault...
> > It works now.
> > `while true; do date; sleep 1; done` counts well now.
> > Thanks.
> > But now, how may I help to find this bug in apic code?
>
> Thanks for verifying that Miroslaw, could you also test the following
> patch (against 2.4.23) ?
>
> Ta,
> Zwane
>
> Index: linux-2.4.23/include/asm-i386/smpboot.h
> ===================================================================
> RCS file: /build/cvsroot/linux-2.4.23/include/asm-i386/smpboot.h,v
> retrieving revision 1.1.1.1
> diff -u -p -B -r1.1.1.1 smpboot.h
> --- linux-2.4.23/include/asm-i386/smpboot.h 4 Dec 2003 22:20:21
> -0000 1.1.1.1
> +++ linux-2.4.23/include/asm-i386/smpboot.h 18 Dec 2003 17:19:28 -0000
> @@ -57,7 +57,7 @@ static inline void detect_clustered_apic
> #define esr_disable (0)
> #define detect_clustered_apic(x,y)
> #define INT_DEST_ADDR_MODE (APIC_DEST_LOGICAL) /* logical delivery */
> -#define INT_DELIVERY_MODE (dest_LowestPrio)
> +#define INT_DELIVERY_MODE (dest_Fixed)
> #endif /* CONFIG_X86_CLUSTERED_APIC */
> #define BAD_APICID 0xFFu
>
> -
> 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/
>


-
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/