Re: [Question]: try to fix contention between expire_timers and try_to_del_timer_sync

From: qiaozhou
Date: Wed Oct 11 2017 - 04:33:41 EST


Hi Will,

On 2017å10æ02æ 22:14, Will Deacon wrote:
Hi Qiao,

On Mon, Sep 25, 2017 at 07:02:03PM +0800, qiaozhou wrote:
Will this bodging patch be merged? It can solve the livelock issue on arm64
platforms(at least improve a lot).

Whilst it seemed to help in some cases, I'm not keen to merge it until
we've identified a sensible way to parameterise the threshold and also
explain why it doens't appear to help at all on some platforms. I guess
I could respin a version that takes the threshold on the cmdline and
also checks to see that the event stream is enabled, since that might
help with further benchmarking.

Would that be useful?

Got it. Please let me know if you want to verify it on my platform. Many thanks.

Best Regards
Qiao