add initial support for the crisarchitecture used on foxboards to openwrt
[openwrt/openwrt.git] / target / linux / etrax-2.6 / patches / cris / 004-kernel-Kconfig.sched.patch
diff --git a/target/linux/etrax-2.6/patches/cris/004-kernel-Kconfig.sched.patch b/target/linux/etrax-2.6/patches/cris/004-kernel-Kconfig.sched.patch
new file mode 100644 (file)
index 0000000..c6feeeb
--- /dev/null
@@ -0,0 +1,21 @@
+--- 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.