From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751826AbaHLWhF (ORCPT ); Tue, 12 Aug 2014 18:37:05 -0400 Received: from smtp.codeaurora.org ([198.145.11.231]:45317 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750979AbaHLWhD (ORCPT ); Tue, 12 Aug 2014 18:37:03 -0400 Message-ID: <53EA970C.9070003@codeaurora.org> Date: Tue, 12 Aug 2014 15:37:00 -0700 From: Stephen Boyd User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: Nicolas Pitre CC: Thomas Gleixner , Jason Cooper , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v2] irqchip: gic: Allow gic_arch_extn hooks to call into scheduler References: <1407194837-27190-1-git-send-email-sboyd@codeaurora.org> <53E118EE.5040205@codeaurora.org> <53E14B33.9080701@codeaurora.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/05/14 19:34, Nicolas Pitre wrote: > >> It allows us to synchronize with another CPU that may be inside >> gic_raise_softirq(). If the other CPU was in that function then this CPU >> would wait until it was done sending the IPI to continue along and >> reroute them. If the other CPU was just about to grab the sgi lock then >> we would guarantee that the CPU would see the new gic_cpu_map value and >> thus any redirection is not necessary. > OK I get it now. > >> I hoped that the commit text explained this. > I'm possibly not bright enough to get it the first time. > >> Honestly it probably isn't a noticeable performance boost either way >> but I think this is the best we can do. > Sure, agreed. > > > Ok, so which patch is preferred? -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation