Re: [PATCH] PATCH: add framework for ndelay (nanoseconds)

Ivan Kokshaysky (ink@jurassic.park.msu.ru)
Thu, 6 Feb 2003 18:05:20 +0300


On Thu, Feb 06, 2003 at 03:53:05PM +0000, 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.

Ok, I see. Probably i386 and others need additional shifts to improve
precision.
BTW, on alpha it's non-issue, despite that initial overhead.

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