diff options
author | guoyin.chen <guoyin.chen@freescale.com> | 2013-05-31 13:01:25 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2013-06-03 07:23:00 +0800 |
commit | df63b400675b8d90ef98dfba43b8e3b01123358a (patch) | |
tree | 32a4b2d3c7f1c0273f6f092a75684472ff81f07e /kernel | |
parent | d9703615928db877ad6c23a807d0f80977891a32 (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. |