Messages in this thread | | | Date | Fri, 7 Nov 2003 17:27:55 -0800 (PST) | From | Oleg OREL <> | Subject | Linux kernel preemption (kernel 2.6 of course) |
| |
I was browsing linux kernel to undetsnand how kernel preemption does work. I was hacking around schedulee_tick and other functions called out of timer interrupt and was unable to found any call to schedule() or switch_to() to peempt currently running task, instead just mangling around current and inactive runqueues.
That leads me to a thought that currently running task wont be preempted within time-tick, instead it might happends in the next call to preempt_schedule out of spin_lock for instance.
===== Oleg OREL
TEL: +1 925 244-1127 CELL: +1 916 337-0608 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |