Re: Can we kill f inb_p, outb_p and other random I/O on port 0x80, in 2.6?

From: Eric W. Biederman
Date: Mon Sep 22 2003 - 14:10:56 EST


Jamie Lokier <jamie@xxxxxxxxxxxxx> writes:

> Arjan van de Ven wrote:
> > The first person to complain about the extra branch miss in udelay for
> > this will get laughed at by me ;)
>
> udelay(1) is too slow on a 386 even without the branch miss.

Hmm. I will have to test that one.

> If you think I/O operations are infinitely slower than other
> instructions, please explain why there is asm-optimised I/O code in
> asm-i386/floppy.h.
>
> :)

Because the kernel was initially written in assembly and then fixed?

Eric

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