schedule() and mipsel processor
Hi all,
I may ask a stupid question here but I have problem of calling any functions such as interruptible_sleep_on_timeout, sleep_on ... in a timer handler, the kernel just crash straight away in the function schedule(). Now I go and do a diff between kern/sched.c on i686 source and mipsel source. clearly , they are different. So the question is from kernel programming point of view, the bottom-half of interrupt handler is still considered interrupt handler? I don't see any platform dependent code in the scheduler at all. So why a mips scheduler is different from intel scheduler ?
Many thanks
Duy Do
---------------------------------
Yahoo! Mobile
- Check & compose your email via SMS on your Telstra or Vodafone mobile.
Quoted 1 line · fpga dsp
I may ask a stupid question here but I have problem of calling any functions such as
interruptible_sleep_on_timeout,sleep_on... in a timer handler, the kernel just crash straight away in the functionschedule(). Now I go and do a diff betweenkern/sched.con i686 source and mipsel source. clearly , they are different. So the question is from kernel programming point of view, the bottom-half of interrupt handler is still considered interrupt handler? I don't see any platform dependent code in the scheduler at all. So why a mips scheduler is different from intel scheduler ?
Bs. There was no need to change kernel/sched.c at all so you're probably simply diffing the wrong versions.
Ralf
Quoted 3 lines · fpga dsp
Hi all,
I may ask a stupid question here but I have problem of calling any functions such as
interruptible_sleep_on_timeout,sleep_on... in a timer handler, the kernel just crash straight away in the functionschedule(). Now I go and do a diff betweenkern/sched.con i686 source and mipsel source. clearly , they are different. So the question is from kernel programming point of view, the bottom-half of interrupt handler is still considered interrupt handler?
Correct. You can't call those sleep functions from timer function.
Jun