lkml.org 
[lkml]   [2002]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Severe IRQ problems on Foster (P4 Xeon) system
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:25    [W:2.947 / U:0.160 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site