diff options
author | Juri Lelli <juri.lelli@arm.com> | 2016-08-05 16:07:55 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-08-10 14:03:32 +0200 |
commit | 98b0a857805080db04f50b8c71438c9c369ef0b3 (patch) | |
tree | f2f22547af6d3b085cada3dda725002ed6eb0cac /Documentation/serial-console.txt | |
parent | 9279e0d2e565e0217618c2087de83d3239811329 (diff) | |
download | blackbird-obmc-linux-98b0a857805080db04f50b8c71438c9c369ef0b3.tar.gz blackbird-obmc-linux-98b0a857805080db04f50b8c71438c9c369ef0b3.zip |
sched/deadline: Remove useless parameter from setup_new_dl_entity()
setup_new_dl_entity() takes two parameters, but it only actually uses
one of them, under a different name, to setup a new dl_entity, after:
2f9f3fdc928 "sched/deadline: Remove dl_new from struct sched_dl_entity"
as we currently do:
setup_new_dl_entity(&p->dl, &p->dl)
However, before Luca's change we were doing:
setup_new_dl_entity(dl_se, pi_se)
in update_dl_entity() for a dl_se->new entity: we were using pi_se's
parameters (the potential PI donor) for setting up a new entity.
This change removes the useless second parameter of setup_new_dl_entity().
While we are at it we also optimize things further calling setup_new_dl_
entity() only for already queued tasks, since (as pointed out by Xunlei)
we already do the very same update at tasks wakeup time anyway. By doing
so, we don't need to worry about a potential PI donor anymore, as
rt_mutex_setprio() takes care of that already for us.
Signed-off-by: Juri Lelli <juri.lelli@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Luca Abeni <luca.abeni@unitn.it>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Xunlei Pang <xpang@redhat.com>
Link: http://lkml.kernel.org/r/1470409675-20935-1-git-send-email-juri.lelli@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'Documentation/serial-console.txt')
0 files changed, 0 insertions, 0 deletions