summaryrefslogtreecommitdiffstats
path: root/kernel/sched
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2012-08-08 16:16:04 +0200
committerThomas Gleixner <tglx@linutronix.de>2012-08-13 18:58:15 +0200
commit532b1858c5241bedfff5ab863d7cf012e8b81a6b (patch)
treede523e113390f151a7d2bfa6f83849af943ebc76 /kernel/sched
parenta4133765c1b467aa53a6efa48f9d292f2dcd285d (diff)
downloadblackbird-op-linux-532b1858c5241bedfff5ab863d7cf012e8b81a6b.tar.gz
blackbird-op-linux-532b1858c5241bedfff5ab863d7cf012e8b81a6b.zip
sched: Fix __sched_period comment
It should be sched_nr_latency so fix it before it annoys me more. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1344435364-18632-1-git-send-email-bp@amd64.org Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/sched')
-rw-r--r--kernel/sched/fair.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index c219bf8d704c..99285a85e210 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -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
OpenPOWER on IntegriCloud