lkml.org 
[lkml]   [2003]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Can we kill f inb_p, outb_p and other random I/O on port 0x80, in 2.6?
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.
>
> ok we have ndelay() now as well in 2.6

I was sort of joking, but the point is that a function call might be
too slow on a 386.

On a 386, a function call for every byte transferred to/from the
floppy disk might show up as a real overhead - this occurred to me
because someone once thought it was worth rewriting the floppy data
transfer code in assembly language, and presumably it did improve
performance at the time.

Of course the answer is to not use udelay() on 386-optimised
configurations.

-- Jamie

-
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:48    [W:0.053 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site