lkml.org 
[lkml]   [1999]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: timer interrupts & scheduling
Date
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.039 / U:0.816 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site