diff options
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/sched_fair.c | 10 | ||||
| -rw-r--r-- | kernel/sched_features.h | 7 |
2 files changed, 0 insertions, 17 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index 0008cc4a1199..de98e2e9d6e1 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c | |||
| @@ -742,16 +742,6 @@ place_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int initial) | |||
| 742 | unsigned long thresh = sysctl_sched_latency; | 742 | unsigned long thresh = sysctl_sched_latency; |
| 743 | 743 | ||
| 744 | /* | 744 | /* |
| 745 | * Convert the sleeper threshold into virtual time. | ||
| 746 | * SCHED_IDLE is a special sub-class. We care about | ||
| 747 | * fairness only relative to other SCHED_IDLE tasks, | ||
| 748 | * all of which have the same weight. | ||
| 749 | */ | ||
| 750 | if (sched_feat(NORMALIZED_SLEEPER) && (!entity_is_task(se) || | ||
| 751 | task_of(se)->policy != SCHED_IDLE)) | ||
| 752 | thresh = calc_delta_fair(thresh, se); | ||
| 753 | |||
| 754 | /* | ||
| 755 | * Halve their sleep time's effect, to allow | 745 | * Halve their sleep time's effect, to allow |
| 756 | * for a gentler effect of sleepers: | 746 | * for a gentler effect of sleepers: |
| 757 | */ | 747 | */ |
diff --git a/kernel/sched_features.h b/kernel/sched_features.h index c545e048dfed..404288354aee 100644 --- a/kernel/sched_features.h +++ b/kernel/sched_features.h | |||
| @@ -13,13 +13,6 @@ SCHED_FEAT(FAIR_SLEEPERS, 1) | |||
| 13 | SCHED_FEAT(GENTLE_FAIR_SLEEPERS, 1) | 13 | SCHED_FEAT(GENTLE_FAIR_SLEEPERS, 1) |
| 14 | 14 | ||
| 15 | /* | 15 | /* |
| 16 | * By not normalizing the sleep time, heavy tasks get an effective | ||
| 17 | * longer period, and lighter task an effective shorter period they | ||
| 18 | * are considered running. | ||
| 19 | */ | ||
| 20 | SCHED_FEAT(NORMALIZED_SLEEPER, 0) | ||
| 21 | |||
| 22 | /* | ||
| 23 | * Place new tasks ahead so that they do not starve already running | 16 | * Place new tasks ahead so that they do not starve already running |
| 24 | * tasks | 17 | * tasks |
| 25 | */ | 18 | */ |
