From: "Jan Beulich" Subject: Re: IPI sending difference between x86 and ARM Date: Wed, 10 Sep 2014 11:27:16 +0100 Message-ID: <541043A40200007800033307@mail.emea.novell.com> References: <54100D74020000780003310D@mail.emea.novell.com> <1410343264.8217.283.camel@kazak.uk.xensource.com> <54103FB60200007800033292@mail.emea.novell.com> <1410344359.8217.297.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XRf7O-0004oX-M2 for xen-devel@lists.xenproject.org; Wed, 10 Sep 2014 10:27:18 +0000 In-Reply-To: <1410344359.8217.297.camel@kazak.uk.xensource.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel , Tim Deegan , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org >>> On 10.09.14 at 12:19, wrote: > On Wed, 2014-09-10 at 11:10 +0100, Jan Beulich wrote: >> >>> On 10.09.14 at 12:01, wrote: >> > Anyway, if smp_send_event_check_mask is supposed to exclude the calling >> > CPU then we should fix that on ARM in the name of consistency/sanity. In >> > the event it causes other issues then we should fix those as they arise. >> >> Actually I was instead considering to filter the local CPU in >> cpumask_raise_softirq(), just like cpu_raise_softirq() does. That >> would make changes to smp_send_event_check_mask() >> unnecessary. > > Sure, that would be fine and good too. > > But independent of that I think smp_send_event_check_mask() should > behave the same on x86 as ARM wrt including the current CPU. But the dropping of the local CPU doesn't happen in smp_send_event_check_mask() on x86 - it's further down the call chain where this gets done. And by fixing the caller we make it so that the specific arch's behavior doesn't matter anymore. Jan