diff options
author | guoyin.chen <guoyin.chen@freescale.com> | 2013-05-31 13:01:25 +0800 |
---|---|---|
committer | Eric Nelson <eric.nelson@boundarydevices.com> | 2013-07-05 13:01:06 -0700 |
commit | 1684fc9262d271f92330cf14e5674706636937d6 (patch) | |
tree | 49afae337777a88bc8a965563dd56d0fbc86ea26 /kernel | |
parent | 6eacfa1b1082c651e6f4bb8de7c1c93b6c80ae29 (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>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/time/tick-broadcast.c | 4 |
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. |