]> git.baikalelectronics.ru Git - kernel.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)
commit16c3a6d65f4f61188c945a6cd32fbefe781f1ecf
treed05438997d25f84190b2d7ee57f0637613c1fd3a
parentc53b10d907513c357d865a02bac31a2a867ad272
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