sched: Fix __sched_period comment
PATCH 1/1 sched: Fix __sched_period comment
From: Borislav Petkov <[email protected]>
It should be sched_nr_latency so fix it before it annoys me more.
Signed-off-by Borislav Petkov <[email protected]>
--- kernel/sched/fair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/fair.c +1 -1
@@ -597,7 +597,7 @@ calc_delta_fair(unsigned long delta, struct sched_entity *se)/* * The idea is to set a period in which each task runs once. * -* When there are too many tasks (sysctl_sched_nr_latency) we have to stretch +* When there are too many tasks (sched_nr_latency) we have to stretch * this period because otherwise the slices get too small. * * p = (nr <= nl) ? l : l*nr/nl
Signature · 1 line
1.7.11.rc1
Commit-ID: 0bb6eb6e40c9d8728a32a6f6d3e9d795df1ca249 Gitweb: http://git.kernel.org/tip/0bb6eb6e40c9d8728a32a6f6d3e9d795df1ca249 Author: Borislav Petkov <[email protected]> AuthorDate: Wed, 8 Aug 2012 16:16:04 +0200 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 13 Aug 2012 18:51:59 +0200
sched: Fix __sched_period comment
It should be sched_nr_latency so fix it before it annoys me more.
Signed-off-by Borislav Petkov <[email protected]>
Signed-off-by Peter Zijlstra <[email protected]>
Signed-off-by Thomas Gleixner <[email protected]>
--- kernel/sched/fair.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/sched/fair.c +1 -1
@@ -597,7 +597,7 @@ calc_delta_fair(unsigned long delta, struct sched_entity *se)/* * The idea is to set a period in which each task runs once. * -* When there are too many tasks (sysctl_sched_nr_latency) we have to stretch +* When there are too many tasks (sched_nr_latency) we have to stretch * this period because otherwise the slices get too small. * * p = (nr <= nl) ? l : l*nr/nl
Commit-ID: 532b1858c5241bedfff5ab863d7cf012e8b81a6b Gitweb: http://git.kernel.org/tip/532b1858c5241bedfff5ab863d7cf012e8b81a6b Author: Borislav Petkov <[email protected]> AuthorDate: Wed, 8 Aug 2012 16:16:04 +0200 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 13 Aug 2012 18:58:15 +0200
sched: Fix __sched_period comment
It should be sched_nr_latency so fix it before it annoys me more.
Signed-off-by Borislav Petkov <[email protected]>
Signed-off-by Peter Zijlstra <[email protected]>
Signed-off-by Thomas Gleixner <[email protected]>
--- kernel/sched/fair.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/sched/fair.c +1 -1
@@ -597,7 +597,7 @@ calc_delta_fair(unsigned long delta, struct sched_entity *se)/* * The idea is to set a period in which each task runs once. * -* When there are too many tasks (sysctl_sched_nr_latency) we have to stretch +* When there are too many tasks (sched_nr_latency) we have to stretch * this period because otherwise the slices get too small. * * p = (nr <= nl) ? l : l*nr/nl