livelock with hrtimer cpu_base->lock
From: Sodagudi Prasad
Date: Tue Oct 09 2018 - 16:56:17 EST
This is regarding - thread "try to fix contention between expire_timers
I think this live lockup issue was discussed earlier but the final set
of changes were not concluded.
I would like to check whether you have new updates on this issue or not.
This problem is observed with 4.14 .64 stable kernel too.
We see this problem 2 times in overnight testing.
I have to add the following code to avoid live lock. I am thinking that
fixing this at the cpu_relax() level.
@@ -52,6 +52,7 @@
@@ -152,6 +153,7 @@ struct hrtimer_clock_base *lock_hrtimer_base(const
struct hrtimer *timer,
@@ -1067,6 +1069,7 @@ int hrtimer_cancel(struct hrtimer *timer)
if (ret >= 0)
Note:- Timer event streaming is enabled and still live lock observed.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora
Linux Foundation Collaborative Project