1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-06 17:13:08 +02:00
openwrt-xburst/target/linux/etrax/patches/cris/004-kernel-Kconfig.sched.patch

22 lines
732 B
Diff

--- linux-2.6.19.2.old/kernel/Kconfig.sched 1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.19.2.dev/kernel/Kconfig.sched 2007-02-05 12:22:39.000000000 +0100
@@ -0,0 +1,18 @@
+#
+# Scheduler tuning
+#
+
+config OVERRIDE_SCHED_STARVATION_LIMIT
+ bool "Override scheduler STARVATION_LIMIT"
+ help
+ This threshold sets the maximum time a task may wait in the
+ expired runqueue when deciding to re-insert interactive tasks
+ into the active runqueue. The time-limit is in ms but scales with
+ the number of running tasks in the system.
+
+config SCHED_STARVATION_LIMIT
+ int "Scheduler Starvation Limit"
+ depends on OVERRIDE_SCHED_STARVATION_LIMIT
+ default 10
+ help
+ Starvation limit in milliseconds per running task.