summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguoyin.chen <guoyin.chen@freescale.com>2013-05-31 13:01:25 +0800
committerguoyin.chen <guoyin.chen@freescale.com>2013-05-31 13:01:25 +0800
commitac89a4c0bb2cce40234a9b03f0240fe4c28b43fa (patch)
tree6dc46b47e2e1520f82e2caefb96ad0d41c68804a
parent91f9f016115661e525ba0bfdcdf89b8fe34257b7 (diff)
ENGR00265061 System hang when running the game lsh.emu.apk
The game will creat a lot of hr timer, and make cpu tick broadcast bit not been clear all time. It will cause user space thread not been scheduled. Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
-rw-r--r--kernel/time/tick-broadcast.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/time/tick-broadcast.c b/kernel/time/tick-broadcast.c
index bc361151e22f..56f704346313 100644
--- a/kernel/time/tick-broadcast.c
+++ b/kernel/time/tick-broadcast.c
@@ -560,10 +560,8 @@ void tick_broadcast_oneshot_control(unsigned long reason)
* nohz fixups.
*/
now = ktime_get();
- if (dev->next_event.tv64 <= now.tv64) {
+ if (dev->next_event.tv64 <= now.tv64)
set_bit(cpu, tick_force_broadcast_mask);
- goto out;
- }
/*
* We got woken by something else. Reprogram
* the cpu local timer device.