Thread (5 messages) 5 messages, 5 authors, 2003-10-08

Re: [PATCH] Poll-based IDE driver

From: Srivatsa Vaddagiri <hidden>
Date: 2003-10-08 12:07:14
Also in: lkml

Possibly related (same subject, not in this thread)

On Wed, Oct 08, 2003 at 12:50:51PM +0100, Dave Jones wrote:
Why not just use udelay() ?  The above code cannot possibly do
the right thing on all processors.
Since my code is supposed to run when system is crashing, I would like 
to avoid calling any function in the kernel as far as possible, since 
the kernel and its data structures may be in a inconsistent state 
and/or corrupted.

I do realize that the above code does not provide accurate 
delay and may not work on all platforms. In that direction
I was considering using the loops_per_jiffy variable 
which may provide more accurate/platform-independent delay (?) ..


-- 


Thanks and Regards,
Srivatsa Vaddagiri,
Linux Technology Center,
IBM Software Labs,
Bangalore, INDIA - 560033
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help