[PATCH] sched/core: Limit the least time slice in hrtick_start()

2014-07-09 Thread xiaofeng.yan
Move this piece of code with the limit of the least time slice from hrtick_start_fair() to hrtick_start() because EDF schedule class also need this function in start_hrtick_dl(). EDF tasks with the runtime of microsecond level will lead to the wrong precision because system can't control the end

[PATCH] sched/core: Limit the least time slice in hrtick_start()

2014-07-09 Thread xiaofeng.yan
Move this piece of code with the limit of the least time slice from hrtick_start_fair() to hrtick_start() because EDF schedule class also need this function in start_hrtick_dl(). EDF tasks with the runtime of microsecond level will lead to the wrong precision because system can't control the end