Messages in this thread | | | Date | Sun, 10 Jan 1999 16:24:00 -0800 (PST) | From | David Lang <> | Subject | Re: [PATCH] HZ change for ix86 |
| |
-----BEGIN PGP SIGNED MESSAGE-----
someone correct me if I am misunderstang this, but I am understanding the origional idea to mean that when a program does a system call that would automatically end it's time slice, as opposed to the behavior that Alan is mentioning where you can make as many system calls as you want and your time slice ends as close to the normal time as possible.
Question, does a blocking system call do this already? if so what other system calls are people thinking it would be worthwhile to do this to?
David Lang
"If users are made to understand that the system administrator's job is to make computers run, and not to make them happy, they can, in fact, be made happy most of the time. If users are allowed to believe that the system administrator's job is to make them happy, they can, in fact, never be made happy." - -Paul Evans (as quoted by Barb Dijker in "Managing Support Staff", LISA '97)
On Sun, 10 Jan 1999, Alan Cox wrote:
> Date: Sun, 10 Jan 1999 03:27:56 +0000 (GMT) > From: Alan Cox <alan@lxorguk.ukuu.org.uk> > To: root@chaos.analogic.com > Cc: K.Garloff@ping.de, pavel@atrey.karlin.mff.cuni.cz, mingo@chiara.csoma.elte.hu, bryan@terran.org, linux-kernel@vger.rutgers.edu, cw@ix.net.nz > Subject: Re: [PATCH] HZ change for ix86 > > > 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/ >
-----BEGIN PGP SIGNATURE----- Version: PGP for Personal Privacy 5.0 Charset: noconv
iQEVAwUBNplEpT7msCGEppcbAQEdvQf9GdGlUuPPmy3YC+AXZpH5VfAdxkkJQ0PV lQKRlBCE16JNQupfK63+pN40AqYOjOG7BLGbvSW0pbYjrk68XSGY8dG/tGEIcwmN VOKghetEf2gUAiTTZ915e45jHzK6BKaaSWZxbAB/o12f804OxDH8TN4xRBFUGu76 EEykuAz9ugTk5NteU9uBsqkrBqAXpEEXH15u/jRDAQLIucdc5Sf37tB6X41+3z2B /GEgDLrB4SttzTGfEcdbnuPSv4dpoJuqkv0imSywoH5hfqJuQFldg3OzJNhhVN50 0MsJVfuoYdV2gBzoxYJVYNrVc7bY/egvMLlpj80krcgS9f9qzJJ4LA== =b3zN -----END PGP SIGNATURE-----
- 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/
| |