Re: Severe IRQ problems on Foster (P4 Xeon) system

From: Martin Wilck (Martin.Wilck@fujitsu-siemens.com)
Date: Wed Mar 20 2002 - 02:52:06 EST


On Wed, 20 Mar 2002, Pavel Machek wrote:

> > This would get us rid of our problem (although the BIOS hack may
> > suffice). However, more than that, it also spares ~2 us on each timer
> > interrupt for CPUs which do not need do_slow_gettimeoffset.
> >
> > What do you think?
>
> Well, you should get your bios fixed.

Whatever's wrong with our BIOS is not the focus of the patch.
There are two sides to this, and the Linux side is that the
IO-operations to port 20 are completely superfluous on modern CPUs.

> Then... Those ifdefs are not neccessary, right? You only need ...
[ snip ]
> ... these lines.

There is no point in keeping the timer_ack variable in the kernel's
symbol table if it's compiled for CPUS with TSC only, and no need
to test it in every timer interrupt if we know it's going to be 0
anyway.

Please note that do_slow_timeoffset is completely #ifdef'ed out in
time.c for CPUs with TSC.

Martin

-- 
Martin Wilck                Phone: +49 5251 8 15113
Fujitsu Siemens Computers   Fax:   +49 5251 8 20409
Heinz-Nixdorf-Ring 1	    mailto:Martin.Wilck@Fujitsu-Siemens.com
D-33106 Paderborn           http://www.fujitsu-siemens.com/primergy

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



This archive was generated by hypermail 2b29 : Sat Mar 23 2002 - 22:00:21 EST