aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorRik van Riel <[email protected]>2015-02-16 15:23:49 -0500
committerIngo Molnar <[email protected]>2015-02-18 18:21:19 +0100
commit1e78cdbd9b2266503339accafe0ebdd99b93a531 (patch)
tree20ee0aeed9887bccf703256e60d3fe035c8b3224 /drivers/mtd/lpddr/lpddr_cmds.c
parent890a5409f9d0c84d75a1e16eebdfe91d8a57ef1e (diff)
sched/rt/nohz: Stop scheduler tick if running realtime task
If the CPU is running a realtime task that does not round-robin with another realtime task of equal priority, there is no point in keeping the scheduler tick going. After all, whenever the scheduler tick runs, the kernel will just decide not to reschedule. Extend sched_can_stop_tick() to recognize these situations, and inform the rest of the kernel that the scheduler tick can be stopped. Tested-by: Luiz Capitulino <[email protected]> Signed-off-by: Rik van Riel <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] [ Small cleanliness tweak. ] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions