On Sun, Apr 11, 1999 at 07:36:08PM +0200, Rik van Riel wrote:
> This second patch is just a small optimization to the code calling
> the scheduling code. With a program like rc5des running (nice +19)
> in the background and NOTHING in the foreground Linux still goes
> through the scheduler 50 times a second!
>=20
> This small patch solves that problem by simply not rescheduling
> if there's nothing else to be run. A quite similar change has
> increased someone's rc5des keyrate by 3%, but it's probably
> somewhat less on modern systems. The effect is too small to
> really care about the change, but IMHO it's the Right Thing(tm)!
Thanks for your patch. It looks correct to me, but:
It might be that your patch is not fully correct or that you uncovered
another incorrectness, but I started to get problems with my modem tools
(mgetty+sendfax+voice): vm play -s file.rmd plays files half-way only.
I'm back to an unpatched kernel, but I can inspect further, if you want me
to.=20
--=20
Dipl.Phys. Kurt Garloff <kurt@garloff.de> [Wuppertal, FRG]
Plasma physics, high perf. computing [Linux-ix86,-axp, DUX]
PGP key: see mailheader / key servers [Linux SCSI driver: DC390]
--45Z9DzgjV8m4Oswq
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3in
iQCVAwUBNxGTvxaQN/7O/JIVAQEA1QP+L8oawYI3gz7jC9vmwy+ddCTndiN9UTYq
23vYowxtiODwMNEXtt2bfavm7X4LYXI5ikTh1YTGVVZEXahtCxZjhlH0ljjdBoPk
LiCK1fLPUQlG4kwzdVd3In4UJVYkXhOH0P6DB29C6nkaPmeLAixyvA3D+B3+Qfxf
xBx/XL1+SRA=
=XJp5
-----END PGP SIGNATURE-----
--45Z9DzgjV8m4Oswq--
-
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/