[PATCH 0/2] validate the delta of cycle_now and cycle_last on arm64

2015-10-27 Thread Yang Yingliang
In multi-core system, if the clock is not sync perfectly, it will make cycle_last that recorded by CPU-A is a little more than cycle_now that read by CPU-B. With the negative result, hrtimer_update_base() return a huge and wrong time. It leads to the cpu can not finish the while loop in

[PATCH 0/2] validate the delta of cycle_now and cycle_last on arm64

2015-10-27 Thread Yang Yingliang
In multi-core system, if the clock is not sync perfectly, it will make cycle_last that recorded by CPU-A is a little more than cycle_now that read by CPU-B. With the negative result, hrtimer_update_base() return a huge and wrong time. It leads to the cpu can not finish the while loop in