Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3822715pxb; Fri, 11 Feb 2022 08:29:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJzpKE6iI6tXavvanBXSbhBHv+cTnENhsbeur5O769NpZbuxD6j5z7ao2exz+PDexXoIUWH8 X-Received: by 2002:a50:d70e:: with SMTP id t14mr2831196edi.19.1644596974687; Fri, 11 Feb 2022 08:29:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644596974; cv=none; d=google.com; s=arc-20160816; b=S15bOxN5fiBgXkYJwBTj9fUj8JYRvEL1H0sfmHtJ/poStpYlY3zIRLOl5oaQuD1qKZ 4pyCJzGC3YUXowvYnwD/WUFVWnEjKpk708FptXW2EBwPO0tNLPpUcntg+vAqj+hPD1SA EFLxnArdrpMptd4FVZci4WFJrtpv2qqlyiQVbgjw2+FX9rZ/P17R9b2TSQhdQelTkf64 lb+tcMKZ7jNBbCEjXaIclbXNGjn6UDb3rUTlm5EGd2TBG4ZRy7FgvOeiWmNGisInGCYf mLDNxeysXGUB2BeHcXO4vWDezRsyth0cj82Ws8QgqbPap9phcAcXRBERw3eion+ScAwj xMuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature :dkim-signature:date; bh=KLsUzGZCfbhtNRNcw2i65Hw9vSFvBNNoAOcENNoo8Ck=; b=DsA2QmfV48KSdgFYts9es9xuLMpsNlDoQKJiPxhd+1trgNiTfCNBh8JHgL7Gp6yE/T ohDDnm/PNONY2C7Pxs3AvMtFvM5A+Mnz9r/EazPwI80pcrC09pA7VUjk0lPkaAIhRtwH TjRqHyrHAL8U7SAdJtIhY2yxUAr3+pczHJKLZnyf/T1LjngrLGhJJgU3YEGkRt4GxnQP QP+a7p/DTarEwEsZreSH74ACH0q6zhbDT7bdbmCyoINLr5L5JF/BJ0kZ+3mKPOfyBIeN ILGatJm9t+Rgu0tSgdyMC5x9KV7666hcSbTVBrvRmpmsRQR1PZwQDoV0dZ1PPwr5m2kC HABw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=BTVeEuTe; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="EU/rM1wk"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hv15si13894315ejc.577.2022.02.11.08.29.03; Fri, 11 Feb 2022 08:29:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=BTVeEuTe; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="EU/rM1wk"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347320AbiBKPJb (ORCPT + 99 others); Fri, 11 Feb 2022 10:09:31 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:58156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232068AbiBKPJa (ORCPT ); Fri, 11 Feb 2022 10:09:30 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11EE1A9; Fri, 11 Feb 2022 07:09:29 -0800 (PST) Date: Fri, 11 Feb 2022 16:09:26 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1644592167; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=KLsUzGZCfbhtNRNcw2i65Hw9vSFvBNNoAOcENNoo8Ck=; b=BTVeEuTegcvfFax5qovr5Yr98KhUrar+yCyDwo1rM99IbBV231WAkbRJ1cXqoClM72jNRh +9VvzbHKuXCdvBBe8oFVb7unyOrWookhnXoyiy9xQT6X/zjw+9YPLDDQ8F63+4Bk+NJVmx 27gUeJzqcKFMTu2XOvGCNeuVqv08UF7ndj8r14+pCFqlMWzB+ysv90y2pv2iNGIkIAD7Ed YROv5WRCtcp1hH1EUjLWZKTBGeNjhFlKkPRTmk+Rr8xf8S4pGjchzlHaKWZuBwrPp0XGMR liIwPOP+chxw/ESLY9ItMprymseP2tRn1DKwrjzKpPC0OcSeRdhpLMj4a6hflA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1644592167; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=KLsUzGZCfbhtNRNcw2i65Hw9vSFvBNNoAOcENNoo8Ck=; b=EU/rM1wkSokEgGeMDhgcbo0I2kMRvzR/Uwqs8M49fL+VteJSBYYyCnYVi4Lf90Kr9S6pQr G8seyYJyXx26jIBg== From: Sebastian Andrzej Siewior To: Christoph Hellwig Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Peter Zijlstra , Thomas Gleixner , Greg Kroah-Hartman , Andrew Morton Subject: Re: [PATCH REPOST] irq_poll: Add local_bh_disable() in cpu_dead notifier Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022-02-10 22:34:32 [-0800], Christoph Hellwig wrote: > On Thu, Feb 10, 2022 at 01:33:39PM +0100, Sebastian Andrzej Siewior wrote: > > You need to handle the pending softirqs. If you don't handle them > > immediately or in a deterministic say (like on IRQ exit) then they will > > be handled at a random point. > > Yes. Just like regular interrupts. With the exception that this one was already handled and should be handled and not delayed until the next interrupt. And as I said, on NO_HZ you get a warning about unhandled soft-irqs if the CPU goes idle. Sebastian