Messages in this thread | | | Date | Sun, 10 Jan 1999 17:13:56 -0500 (EST) | From | "Richard B. Johnson" <> | Subject | Re: [PATCH] HZ change for ix86 |
| |
On Sun, 10 Jan 1999, Alan Cox wrote:
> > 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 > True enough about an expired time-slice. However, VMS made sure that a single task could not hog the CPU and system services by forcing any task that makes a system call to give up the rest of its time- slice (quantum --in microfortnights --eh).
Cheers, Dick Johnson ***** FILE SYSTEM WAS MODIFIED ***** Penguin : Linux version 2.1.131 on an i686 machine (400.59 BogoMips). Warning : It's hard to remain at the trailing edge of technology. Wisdom : It's not a Y2K problem. It's a Y2Day problem.
- 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/
| |