[lkml]   [2003]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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