lkml.org 
[lkml]   [2003]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] PATCH: add framework for ndelay (nanoseconds)
Alan Cox wrote:

>Why waste 500nS every IDE command as opposed to doing the job right ? The initial
>ndelay() is a quick implementation. If you don't like it implement a better one,
>if your box isnt fast implement it as udelay.
>
>
The delay should be made controller specific. On most controllers the
reading of the alt status we need to do to flush the write command to
the drive will also cause enough of a delay so that the ndelay isn't
needed at all. For example the on the Promise 20265 and 20267 the alt
status read will always take at least 600ns.

Ross

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