summaryrefslogtreecommitdiff
path: root/kernel/sched/core.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2014-05-09 11:58:42 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2014-09-05 09:52:51 +0530
commita8bcaba5c5a3d0d95246a3920235a8fd8d88d2b7 (patch)
tree87de0828d6efbf102ec55c1c7461484db127f95b /kernel/sched/core.c
parent862a178f89c792765d33e12a068af2e4de23858a (diff)
tick: SHUTDOWN event-dev if no events are required for KTIME_MAX
When expires is set to KTIME_MAX in tick_program_event(), we are sure that there are no events enqueued for a very long time and so there is no point keeping event device running. We will get interrupted without any work to do many a times, for example when timer's counter overflows. So, its better to SHUTDOWN the event device then and restart it ones we get a request for next event. For implementing this a new field 'last_mode' is added to 'struct clock_event_device' to keep track of last mode used. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'kernel/sched/core.c')
0 files changed, 0 insertions, 0 deletions