diff options
author | Peter Zijlstra <peterz@infradead.org> | 2014-01-27 11:54:13 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-01-28 13:08:41 +0100 |
commit | a57beec5d427086cdc8d75fd51164577193fa7f4 (patch) | |
tree | 86bbff9570824031ec4bd42bfd5dd11e4b825a55 /Documentation | |
parent | sched/deadline: Add sched_dl documentation (diff) | |
download | linux-a57beec5d427086cdc8d75fd51164577193fa7f4.tar.xz linux-a57beec5d427086cdc8d75fd51164577193fa7f4.zip |
sched: Make sched_class::get_rr_interval() optional
Not all classes implement (or can implement) a useful get_rr_interval()
function, default to a 0 time-slice for them.
This fixes a crash reported by Tommi Rantala.
Reported-by: Tommi Rantala <tt.rantala@gmail.com>
Cc: Dave Jones <davej@redhat.com>
Cc: Tommi Rantala <tt.rantala@gmail.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20140127105413.GC11314@laptop.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions