[patch] sched-2.5.24-D3, batch/idle priority scheduling, SCHED_BATCH

Ingo Molnar (mingo@elte.hu)
Mon, 1 Jul 2002 11:45:32 +0200 (CEST)


the sched-2.5.24-D3 patch is my current scheduler tree against 2.5.24,
which also includes the latest version of SCHED_BATCH support:

http://redhat.com/~mingo/O(1)-scheduler/sched-2.5.24-D3

the setbatch utility can be found at:

http://redhat.com/~mingo/O(1)-scheduler/setbatch.c

Changes relative to the previous SCHED_BATCH patch:

- fix signal delivery - call the 'kick batch processes' code on UP as
well.

- simplify and speed up the batch queue handling code: the expired/active
queues are merged into a single queue. If a SCHED_BATCH process uses up
all its timeslices then it is queued to the tail of the batch-queue -
otherwise it's queued to the head of the batch-queue. This simplifies
the load-balancer as well.

- add 'default context-switch locking' if prepare_arch_schedule() is not
defined. The majority of architectures thus do not have to define the
context-switch locking macros.

bug reports, success reports, comments, suggestions are welcome,

Ingo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/