]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - kernel/sched_features.h
sched: Implement a gentler fair-sleepers feature
[mv-sheeva.git] / kernel / sched_features.h
index 70115c69c7a96da02c742bd9a6d9d751fccc6e0d..fd375675f83453fb485814489605236938b0afb8 100644 (file)
@@ -3,7 +3,14 @@
  * considers the task to be running during that period. This gives it
  * a service deficit on wakeup, allowing it to run sooner.
  */
-SCHED_FEAT(NEW_FAIR_SLEEPERS, 0)
+SCHED_FEAT(FAIR_SLEEPERS, 1)
+
+/*
+ * Only give sleepers 50% of their service deficit. This allows
+ * them to run sooner, but does not allow tons of sleepers to
+ * rip the spread apart.
+ */
+SCHED_FEAT(GENTLE_FAIR_SLEEPERS, 1)
 
 /*
  * By not normalizing the sleep time, heavy tasks get an effective