Repository navigation
Commit a57beec
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>1 parent 712e5e3 commit a57beec
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4324 | 4324 | | |
4325 | 4325 | | |
4326 | 4326 | | |
4327 | | - | |
| 4327 | + | |
| 4328 | + | |
| 4329 | + | |
4328 | 4330 | | |
4329 | 4331 | | |
4330 | 4332 | | |
| |||
0 commit comments