public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* why kernel implement "udelay" by cpu instructions?
@ 2009-11-02  3:13 loody
  2009-11-02  4:45 ` Rik van Riel
  0 siblings, 1 reply; 7+ messages in thread
From: loody @ 2009-11-02  3:13 UTC (permalink / raw)
  To: linux-kernel, Kernel Newbies

Dear all:
I find the kernel use cpu instruction to implement the udelay function
as keeping decrease a big counter by 1.

If I search the right place in kernel, why kernel does so?
the precision will be different if cpu runs faster or slower, right?
appreciate your help,
miloody

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-11-04 14:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-02  3:13 why kernel implement "udelay" by cpu instructions? loody
2009-11-02  4:45 ` Rik van Riel
2009-11-04  2:19   ` loody
2009-11-04  5:01     ` Rajat Jain
2009-11-04  5:36       ` Bryan Donlan
2009-11-04  5:45         ` Rajat Jain
2009-11-04 14:16         ` Rik van Riel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox