Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752895AbbKQNZa (ORCPT ); Tue, 17 Nov 2015 08:25:30 -0500 Received: from us01smtprelay-2.synopsys.com ([198.182.47.9]:37123 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751841AbbKQNZ3 (ORCPT ); Tue, 17 Nov 2015 08:25:29 -0500 Subject: Re: local64_cmpxchg() in arc_perf_event_update() To: Peter Zijlstra , Vineet Gupta References: <1445286926.3913.13.camel@synopsys.com> <20151117110749.GT3816@twins.programming.kicks-ass.net> <564B0E18.3040207@synopsys.com> <20151117122401.GY3816@twins.programming.kicks-ass.net> <20151117122540.GL11639@twins.programming.kicks-ass.net> CC: arcml , Alexey Brodkin , lkml Newsgroups: gmane.linux.kernel.arc,gmane.linux.kernel From: Vineet Gupta Message-ID: <564B2A7B.8050707@synopsys.com> Date: Tue, 17 Nov 2015 18:54:11 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151117122540.GL11639@twins.programming.kicks-ass.net> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.12.197.182] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 827 Lines: 20 On Tuesday 17 November 2015 05:55 PM, Peter Zijlstra wrote: > On Tue, Nov 17, 2015 at 01:24:01PM +0100, Peter Zijlstra wrote: >> > On Tue, Nov 17, 2015 at 04:53:04PM +0530, Vineet Gupta wrote: >>> > > That means Alexey need to revert the hunk ? >> > >> > Yes, I think so. > This is assuming you now have these NMIs we talked about earlier. If all > you have are regular IRQs this is not possible, for we should be calling > ->read() with IRQs disabled. Ok then there is not need for this change ATM. I'll queue up the revert in the branch which brings NMI support ! Thx, -Vineet -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/