Re: Maximum frequency of re-scheduling (minimum time quantum) que stio n

From: Bernd Eckenfels
Date: Wed Jul 07 2004 - 03:39:32 EST


In article <313680C9A886D511A06000204840E1CF08F42FD7@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> you wrote:
> So I think that above is anwering my original question, that in the "worst
> case" scenario - unless the rescheduling is induced earlier by explicit or
> implicit (via certain system calls) invokation of the schedule() function
> call, - the attempt of rescheduling (again, of course, by calling schedule()
> function call) will be done at least at every "clock tick time" (say every
> 10 ms, which is default value) ?

Only if the interrupts are not disabled, which can happen if another
interrupt handlers bottom half takes too long. And then you still have the
critical sections in kernel, or the big kernel lock which may block the next
syscall.

Gruss
Bernd
--
eckes privat - http://www.eckes.org/
Project Freefire - http://www.freefire.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/