summaryrefslogtreecommitdiffstats
path: root/target/linux/etrax-2.6/patches/cris/004-kernel-Kconfig.sched.patch
blob: c6feeebf7b59299d4efb5e26e16f4950fcfc506f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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.