[PATCH v4] sched/deadline: Fix the precision problem in the microsecond range

2014-08-25 Thread xiaofeng.yan
The overrun could happen in function start_hrtick_dl() when a task with SCHED_DEADLINE runs in the microsecond range. For example, a task with SCHED_DEADLINE has the following parameters Task runtime deadline period P1 200us 500us500us The deadline and period from task P1 are less

[PATCH v4] sched/deadline: Fix the precision problem in the microsecond range

2014-08-25 Thread xiaofeng.yan
The overrun could happen in function start_hrtick_dl() when a task with SCHED_DEADLINE runs in the microsecond range. For example, a task with SCHED_DEADLINE has the following parameters Task runtime deadline period P1 200us 500us500us The deadline and period from task P1 are less