Hi,
Can someone let me know the answers to my following doubts:
- If we go into infinte loop in kernel mode, will the scheduler be called by timer interrupt once the time allocated to current runing process expires ? Does the timer interrupt take care of it or will our system be hanged. If timer interrupt takes care of it, how does it do that ?
- I am reading the 6th chapter of Rubini's book (LDD), want to know about the internals of udelay() function. How this function exactly works, I saw its code at following link:
but cud not understand it as I am not able to find the definations of __bad_ndelay and all other realted functions. The deceleration has been given just before the defination of udelay() function, dont know where the definition is.
Also let me know about BogoMips and how 'loop_per_second' is used in udelay() macro.
You can give me the links to some good articles on this, I can read it from there.
Regards,
Gaurav.
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!