Re: [PATCH] HZ change for ix86

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 10 Jan 1999 03:27:56 +0000 (GMT)


> The idea of switching and rescheduling in Linux upon every
> system call (basically trivial, just schedule() before the request) just
> might be worth a hack. This is what "they" did in the days of slow CPUs
> and 100s of interactive users.

Its not needed. Linux already gives up the CPU if you return from a system
call and your timeslice has expired. The timer code sets
current->need_resched=1

The syscall return path checks it

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/