]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sched/deadline: Fix confusing comments about selection of top pi-waiter
authorJoel Fernandes <joelaf@google.com>
Thu, 13 Jul 2017 02:24:29 +0000 (19:24 -0700)
committerIngo Molnar <mingo@kernel.org>
Fri, 14 Jul 2017 08:35:16 +0000 (10:35 +0200)
commit193be41e33168a3a06eb9d356d9e39c69de161d2
treed05438997d25f84190b2d7ee57f0637613c1fd3a
parent0e4097c3354e2f5a5ad8affd9dc7f7f7d00bb6b9
sched/deadline: Fix confusing comments about selection of top pi-waiter

This comment in the code is incomplete, and I believe it begs a definition of
dl_boosted to make sense of the condition that follows. Rewrite the comment and
also rearrange the condition that follows to reflect the first condition "we
have a top pi-waiter which is a SCHED_DEADLINE task" in that order. Also fix a
typo that follows.

Signed-off-by: Joel Fernandes <joelaf@google.com>
Reviewed-by: Daniel Bristot de Oliveira <bristot@redhat.com>
Acked-by: Juri Lelli <juri.lelli@arm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20170713022429.10307-1-joelaf@google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/deadline.c