Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp793658imm; Tue, 5 Jun 2018 04:42:41 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJjsr+qjvcdTvFaD9OHCQFQF9OLFPrcWUG+CMM+daUXTkm6nDALqNGj+Bm3NvXwZkayHYxY X-Received: by 2002:a62:1f09:: with SMTP id f9-v6mr5310252pff.50.1528198961498; Tue, 05 Jun 2018 04:42:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528198961; cv=none; d=google.com; s=arc-20160816; b=NnTN/msShPkNtfCtgFZqLPWg0ewB3E2+BB7rfRA7ryBsJj3Z6w/pBkYeiwpl3GXJv9 agLVgW8+HAdmiJIt/OoKyt1yJgiuYmrLiaU6JZbdvx4gUn7mfUg82r5y48jj0dsCEyk3 E28rCmRSPJ3Ku0nMKgI6b3kyvfL8XUMb1pCqVrdDFCTNrtGa09TZP2R4+3VVUX/ybTt3 jCv5ATQi6HbpsWkvHKSnrmMEvt2ihpq4KrzdfHFxRK1/TTVeVuZUsVTlv0fXUeIlwuDw 1exPOgbIn9iGiVvibawA0V+t/NmTS2wUjxe0UZBVsgi3aWehUArlzW3osjpXrX0GNC/I yNLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=G1VavFlhH1p4DEQ6+uh4drJs5llKifqrE7p6i1KXvtA=; b=lblY3SJXeTYDkQdIdnbKxT5n8pGH6aBI8AWMUgBRQlyUNlE3cbDqCzXRXiOWLPvCEe Dz8YCeUntEoBb+IJ740GYIxC2guiUm5S1osC/OCWuHkA/75bkNl28Pd5ezLKRostq/IH 6Qi//o6hN0FxMqfuF2bwIdgYKRHCqwMJkueQ2Z7EyXwPdArtxeixAMnsVUtGduDXco3g WpieztPc9UQys8WJKx9VX3AweRvgg8Kk5r6+za9GgQUgqGRVFhE8mIfgFN2XCu/wL798 Bnw2BU9jASQPQVBBLWQefQsdcyz/GpIyIY4EtIHq489xcu0/DFL3yYHjoKHSA4b+kI3+ nhxw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z18-v6si15850634pgu.692.2018.06.05.04.42.26; Tue, 05 Jun 2018 04:42:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751897AbeFELlt (ORCPT + 99 others); Tue, 5 Jun 2018 07:41:49 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:44805 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751838AbeFELlr (ORCPT ); Tue, 5 Jun 2018 07:41:47 -0400 Received: from p4fea5fc6.dip0.t-ipconnect.de ([79.234.95.198] helo=nanos.glx-home) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fQAL0-000120-VP; Tue, 05 Jun 2018 13:41:19 +0200 Date: Tue, 5 Jun 2018 13:41:18 +0200 (CEST) From: Thomas Gleixner To: Dou Liyang cc: LKML , Ingo Molnar , Peter Zijlstra , Borislav Petkov , Dmitry Safonov <0x7f454c46@gmail.com>, Tariq Toukan , Song Liu , Joerg Roedel , Mike Travis , stable@vger.kernel.org Subject: Re: [patch 3/8] x86/apic: Provide apic_ack_irq() In-Reply-To: <94117bd8-352b-1077-e8ae-8722d7ec213f@cn.fujitsu.com> Message-ID: References: <20180604162224.471925894@linutronix.de> <94117bd8-352b-1077-e8ae-8722d7ec213f@cn.fujitsu.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 5 Jun 2018, Dou Liyang wrote: > > +{ > > + if (unlikely(irqd_is_setaffinity_pending(irqd))) > > Affinity pending is also judged in > > > + irq_move_irq(irqd); > > If we can remove the if(...) statement here That requires to fix all call sites in ia64 and that's why I didn't. But we can make irq_move_irq() an inline function and have the check in the inline. Thanks, tglx