Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 532b1858 authored by Borislav Petkov's avatar Borislav Petkov Committed by Thomas Gleixner
Browse files

sched: Fix __sched_period comment



It should be sched_nr_latency so fix it before it annoys me more.

Signed-off-by: default avatarBorislav Petkov <borislav.petkov@amd.com>
Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1344435364-18632-1-git-send-email-bp@amd64.org


Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent a4133765
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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