Scheduler and ISRs (Timer)

Balaji Srinivasan (balaji@eecs.ukans.edu)
Fri, 10 May 1996 02:34:08 -0600 (CDT)


Hi kernel hackers,
I went thru the ret_from_syscall code.( I believe that what
gets called after a timer interrupt.)

What other things are checked before calling the scheduler (schedule())
The problem is that if i use udelay in my Timer function (the function
thats called when a timer expires) the scheduler is not called
sometimes, even though I set need_resched to 1.
But if i dont use udelay() the scheduler gets called everytime.

Obviously there is something I am missing here.. can u ppl help me out
(*Plead plead.. beg beg*)

This was observed with 1.3.62 and now with 1.3.91.

thanx
balaji

-------------------------------------------------------------------------------
Balaji Srinivasan
Voice: (913)-864-7756(W) email: balaji@eecs.ukans.edu
(913)-841-3555(H) WWW : http://www.eecs.ukans.edu/~balaji