Messages in this thread | | | From | (Alan Cox) | Subject | Re: timer interrupts & scheduling | Date | Mon, 29 Mar 1999 09:51:12 +0100 (BST) |
| |
> Am porting the Linux kernel to a new architecture (the 370 instruction set).
I thought IBM had/were doing that ?
> I noticed that the timer interrupt does very little. The question is this: > how does scheduling work if/when there are no other interrupts occuring?
Just fine.
> The esa/390's are mainframes; there are no serial ports, no video or video interrupts, > no regular i/o or bus interrupts; nothing else is ticking in any sort of > quasi-periodic manner. What should I do, make the timer interrupt do a schedule > every ten ticks or something?
The timer tick updates the task data and eventually causes a reschedule to occur on the return from the timer interrupt. This shouldnt cause any problems. Its just like a PC with nobody on the console and a polled disk controller - and that works.
Alan
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |