diff options
author | Luca Abeni <luca.abeni@unitn.it> | 2016-03-07 14:27:04 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-03-08 14:24:55 +0300 |
commit | 72f9f3fdc928dc3ecd223e801b32d930b662b6ed (patch) | |
tree | b1ba77b3310973ef7f1d4827fd200f9542e445d3 /drivers/usb/serial/mxu11x0.c | |
parent | ca031745fdfc38fed0b9da89bd07e332fce96520 (diff) | |
download | linux-72f9f3fdc928dc3ecd223e801b32d930b662b6ed.tar.xz |
sched/deadline: Remove dl_new from struct sched_dl_entity
The dl_new field of struct sched_dl_entity is currently used to
identify new deadline tasks, so that their deadline and runtime
can be properly initialised.
However, these tasks can be easily identified by checking if
their deadline is smaller than the current time when they switch
to SCHED_DEADLINE. So, dl_new can be removed by introducing this
check in switched_to_dl(); this allows to simplify the
SCHED_DEADLINE code.
Signed-off-by: Luca Abeni <luca.abeni@unitn.it>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: 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/1457350024-7825-2-git-send-email-luca.abeni@unitn.it
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/usb/serial/mxu11x0.c')
0 files changed, 0 insertions, 0 deletions