Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1054774rwn; Thu, 8 Sep 2022 12:38:50 -0700 (PDT) X-Google-Smtp-Source: AA6agR7Fd2tIRowSB4P5WItjpVlafLp0TozNRiLzB45V9IrPoLunOSVEaxfJGInoj/RNiwnZjk8J X-Received: by 2002:a17:902:d505:b0:175:5313:2a3f with SMTP id b5-20020a170902d50500b0017553132a3fmr10475606plg.70.1662665930470; Thu, 08 Sep 2022 12:38:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662665930; cv=none; d=google.com; s=arc-20160816; b=lphpeA69ckdQitheXAuMhnYZL5zq7YIOSisK9NVrRyP/IlZTp7IQ+CbZtfPGgRuDN+ xVUWHIVfLg2ByhhGJGqT3q2JQxnT+0T8HjVRzvSy5mdLs2KD6Pv7RWqCMdJDsOat/X/g QYCDK7y8Q5mFexV4X8DjOwpwwf9IldFz7+CRcxB80f6xT2bF+pQUC2VddIU7V48TiijW 0E50KfUde1ShXe3fRv6vDsvb44M8thSOYDd25rP4wnxg5b2eDVdZUijMZYGk4Xht7iSe wFWaoZpDVHOLhcf1O/MHv5jpOCFIsbNUriZzwV8qcDEUikjpTZGe6nTlTExOC3uVoY9x EVuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=N4nOQ97cjE9Lys0T+TYHiokSbksH1UqflxbgXTijtxU=; b=GPrvmIL9Uy4iG++I5kUqXna001o7oo+ph7SHoOnhg6aCymSuX+K6quDhhWiaH7mtwq KNBNaN3EizZHfUCQmVDp6vaw5NRgydwGx4LDohdATnl3kLtveV1KUCc+p4vp2LQeXoeP dPh1G9hprMvOcF8owLeJh9X8qWbR9RlCR/85i524fu1J3itk+t2bYKjdkJplJDy+nUlR E+583+ud11VVQp7gUlKgUAq7dnGjCi/nnhU1lWBHKKsdePp0AmwXhZWm95NJ6ZJE0S29 mIWp+FTdNjySR/aAvu19dSR1dVgLauHe2IXRGA6rZIGe9kQiroN4dCECAS3VRPUx7SQz VwGg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f125-20020a625183000000b0052e7d706a6fsi19203262pfb.149.2022.09.08.12.38.39; Thu, 08 Sep 2022 12:38:50 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230017AbiIHSe5 (ORCPT + 99 others); Thu, 8 Sep 2022 14:34:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231787AbiIHSev (ORCPT ); Thu, 8 Sep 2022 14:34:51 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15B483AE61 for ; Thu, 8 Sep 2022 11:34:48 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 9AF2CB8219F for ; Thu, 8 Sep 2022 18:34:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F108EC433D6; Thu, 8 Sep 2022 18:34:44 +0000 (UTC) From: Catalin Marinas To: Qi Zheng , will@kernel.org, mark.rutland@arm.com, arnd@arndb.de Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] arm64: run softirqs on the per-CPU IRQ stack Date: Thu, 8 Sep 2022 19:34:32 +0100 Message-Id: <166266206917.232050.13406365654648397230.b4-ty@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220815124739.15948-1-zhengqi.arch@bytedance.com> References: <20220815124739.15948-1-zhengqi.arch@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,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 Mon, 15 Aug 2022 20:47:39 +0800, Qi Zheng wrote: > Currently arm64 supports per-CPU IRQ stack, but softirqs > are still handled in the task context. > > Since any call to local_bh_enable() at any level in the task's > call stack may trigger a softirq processing run, which could > potentially cause a task stack overflow if the combined stack > footprints exceed the stack's size, let's run these softirqs > on the IRQ stack as well. > > [...] Applied to arm64 (for-next/misc), thanks! [1/1] arm64: run softirqs on the per-CPU IRQ stack https://git.kernel.org/arm64/c/2d2f3bb897a3 -- Catalin