From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757337AbdJKIdh (ORCPT ); Wed, 11 Oct 2017 04:33:37 -0400 Received: from [210.13.100.6] ([210.13.100.6]:21001 "EHLO mail2012.asrmicro.com" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1755552AbdJKIdf (ORCPT ); Wed, 11 Oct 2017 04:33:35 -0400 Subject: Re: [Question]: try to fix contention between expire_timers and try_to_del_timer_sync To: Will Deacon CC: Vikram Mulukutla , Thomas Gleixner , John Stultz , , LKML , Wang Wilbur , Marc Zyngier , Peter Zijlstra , , References: <20170728092831.GA24839@arm.com> <2aa9684cf9c889ee9fdc8550b4388af6@codeaurora.org> <20170731131321.GB1737@arm.com> <20170815184039.GE10801@arm.com> <9f86bd426bbaede9de6d38cb047bd6fa@codeaurora.org> <8817730a-9581-240c-8de0-e6c96c20e9ec@asrmicro.com> <20171002141400.GB12847@arm.com> From: qiaozhou Message-ID: Date: Wed, 11 Oct 2017 16:33:03 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171002141400.GB12847@arm.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.1.50.16] X-ClientProxiedBy: mail2012.asrmicro.com (10.1.24.123) To mail2012.asrmicro.com (10.1.24.123) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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