From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756015AbcIOJBM (ORCPT ); Thu, 15 Sep 2016 05:01:12 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:39184 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751070AbcIOJA3 (ORCPT ); Thu, 15 Sep 2016 05:00:29 -0400 Date: Thu, 15 Sep 2016 10:58:04 +0200 (CEST) From: Thomas Gleixner To: Wanpeng Li cc: linux-kernel@vger.kernel.org, Wanpeng Li , Peter Zijlstra Subject: Re: [PATCH] x86/apic: Fix suspicious RCU usage in smp_trace_call_function_interrupt In-Reply-To: <1473920520-12220-1-git-send-email-wanpeng.li@hotmail.com> Message-ID: References: <1473920520-12220-1-git-send-email-wanpeng.li@hotmail.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 15 Sep 2016, Wanpeng Li wrote: > --- > arch/x86/include/asm/apic.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h > index 1243577..71c1fe2 100644 > --- a/arch/x86/include/asm/apic.h > +++ b/arch/x86/include/asm/apic.h > @@ -650,8 +650,8 @@ static inline void entering_ack_irq(void) > > static inline void ipi_entering_ack_irq(void) > { > - ack_APIC_irq(); > irq_enter(); > + ack_APIC_irq(); > } which makes ipi_entering_ack_irq() the same as entering_ack_irq() and therefor pointless. Looking further we have the same issue in exiting_ack_irq() where we call ack_APIC_irq() after irq_exit(). Thanks, tglx