diff options
author | Zhihui Zhang <zzhsuny@gmail.com> | 2014-09-20 21:24:36 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-09-21 03:00:02 -0400 |
commit | 9c58c79a8a76c510cd3a5012c536d4fe3c81ec3b (patch) | |
tree | f1ab38bfa70d4f9c2a7ef1008c5de9c7d5729d8f /kernel/sched/core.c | |
parent | bd61c98f9b3f142cd63f9e15acfe203bec9e5f5a (diff) |
sched: Clean up some typos and grammatical errors in code/comments
Signed-off-by: Zhihui Zhang <zzhsuny@gmail.com>
Cc: peterz@infradead.org
Link: http://lkml.kernel.org/r/1411262676-19928-1-git-send-email-zzhsuny@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/core.c')
-rw-r--r-- | kernel/sched/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 61ee2b327a27..a2841904f2d5 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c | |||
@@ -8069,7 +8069,7 @@ static int tg_cfs_schedulable_down(struct task_group *tg, void *data) | |||
8069 | struct cfs_bandwidth *parent_b = &tg->parent->cfs_bandwidth; | 8069 | struct cfs_bandwidth *parent_b = &tg->parent->cfs_bandwidth; |
8070 | 8070 | ||
8071 | quota = normalize_cfs_quota(tg, d); | 8071 | quota = normalize_cfs_quota(tg, d); |
8072 | parent_quota = parent_b->hierarchal_quota; | 8072 | parent_quota = parent_b->hierarchical_quota; |
8073 | 8073 | ||
8074 | /* | 8074 | /* |
8075 | * ensure max(child_quota) <= parent_quota, inherit when no | 8075 | * ensure max(child_quota) <= parent_quota, inherit when no |
@@ -8080,7 +8080,7 @@ static int tg_cfs_schedulable_down(struct task_group *tg, void *data) | |||
8080 | else if (parent_quota != RUNTIME_INF && quota > parent_quota) | 8080 | else if (parent_quota != RUNTIME_INF && quota > parent_quota) |
8081 | return -EINVAL; | 8081 | return -EINVAL; |
8082 | } | 8082 | } |
8083 | cfs_b->hierarchal_quota = quota; | 8083 | cfs_b->hierarchical_quota = quota; |
8084 | 8084 | ||
8085 | return 0; | 8085 | return 0; |
8086 | } | 8086 | } |