]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ENGR00265061 System hang when running the game lsh.emu.apk
authorguoyin.chen <guoyin.chen@freescale.com>
Fri, 31 May 2013 05:01:25 +0000 (13:01 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:14:04 +0000 (14:14 +0200)
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>
kernel/time/tick-broadcast.c

index bc361151e22f40fa100233a0fe2db52a580ad329..56f704346313ffb803afbffda8d4fe0f6233a580 100644 (file)
@@ -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.