Re: 2.6.8-rc3-mm2

William Lee Irwin III
2004-08-10T06:33:22Z

On Sun, Aug 08, 2004 at 03:29:36PM -0700, Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8-rc3/2.6.8-rc3-mm2/
> - Added a little patch to the CPU scheduler which disables its array
> switching.
> This is purely experimental and will cause high-priority tasks to starve
> lower-priority tasks indefinitely. It is here to determine whether it is
> this aspect of the scheduler which caused the staircase scheduler to exhibit
> improved throughput in some tests on NUMAq.

This patch can't do what the changelog claims it does; if it did, its
implementation of yield() would render the yielding process forever
unrunnable, plus the active/expired reassignment on sched.c:2672 would
have gone away. What is it actually meant to do?

-- wli