Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp1413070rwb; Fri, 5 Aug 2022 01:08:40 -0700 (PDT) X-Google-Smtp-Source: AA6agR4yKdJiiZ9lIGvelHGYykq7Z75aamsqg965Kgx/xsdwxh7ZNiLQWprtxuIMk+XZqJdPZDcy X-Received: by 2002:a05:6402:518b:b0:43e:70be:97cd with SMTP id q11-20020a056402518b00b0043e70be97cdmr5591811edd.388.1659686920247; Fri, 05 Aug 2022 01:08:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659686920; cv=none; d=google.com; s=arc-20160816; b=iOPpMyB+6ErmCupjqABDMlrcVo0cxASC5q5pqPis89CG3auVzxDfO/mP4f6UjY7vMB 16hoemVDR2qem6zYSbMtvT/F0byX8bs6eKP+2ccUMC2obb5s7sFnB3lk0/E9VM0RXKYd MIcwzwl2+0jXL6a/HcZxRbvIdGGC1xZqzLQn6iIP18OqBr6R/Da7kwl74LsEjpdcCPgx 3Dbaam9Aqvnsgz4WvxSbhGdztQww3KNsSXPSS9VcIWd0y/4MUgshQNQhsaZU5cFH+iAI kl9PCK7ymfhoUSJw5PQQaM8ufZTg3ouH3gnPnnvPp2bsrtU92pZtNyFSeh5/Ro8C61RL eu6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=6vzNZKpJcZK+FEaXGTfRFnTFmN2CxcsNcj6hrw1AjyI=; b=S3e5pbLMH43l8YXZ+g1HSxjWjGQtitZyPH14knnHi0nt4CXnyB+1h6pT/bZ1IdYtAx fmgoZphPe8opDZfi2UkiAOqUR3nfqRZRyYZGetbVsFlpRXvArBG9BmOqyTuPYF1HDsbH /OMo3D3oa/Zst4Q2AcoS5GBWmYWjO4GvdvG6tnvJ5OXCXjgKlsF9gisOGqGoX1Ke/IH7 sRF/uZkZBLhepdImTqt/QnvjomWslwk/fbrl3dulv0VxKGN/vaYvnboR75hs0rO0wlM4 13MTNhcxvoXKLPmQRVYJJRp9F+OHp/n+AA8z9/HszlErTAy2K6PNr19E4m8RLoS0BiV4 nOrg== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k22-20020aa7c396000000b0043cf96f44f2si3204072edq.193.2022.08.05.01.08.14; Fri, 05 Aug 2022 01:08:40 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240286AbiHEHu0 (ORCPT + 99 others); Fri, 5 Aug 2022 03:50:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240091AbiHEHuW (ORCPT ); Fri, 5 Aug 2022 03:50:22 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AFA7CC7 for ; Fri, 5 Aug 2022 00:50:18 -0700 (PDT) Received: from mail-ej1-f48.google.com ([209.85.218.48]) by mrelayeu.kundenserver.de (mreue011 [213.165.67.97]) with ESMTPSA (Nemesis) id 1N0WwO-1nWBor0HAa-00wX5x for ; Fri, 05 Aug 2022 09:50:17 +0200 Received: by mail-ej1-f48.google.com with SMTP id kb8so3624597ejc.4 for ; Fri, 05 Aug 2022 00:50:17 -0700 (PDT) X-Gm-Message-State: ACgBeo3yfFMWpd/mjCIzO4tPwZVWqyPjgJsarziOPK6rC3YmTGCWijR4 bYvORjAH8tASliNk1wSJXKk9gVVDxmloZmOMDm8= X-Received: by 2002:a17:906:9b08:b0:730:5d3c:4b1b with SMTP id eo8-20020a1709069b0800b007305d3c4b1bmr4372456ejc.606.1659685816744; Fri, 05 Aug 2022 00:50:16 -0700 (PDT) MIME-Version: 1.0 References: <20220802065325.39740-1-zhengqi.arch@bytedance.com> <5dbced25-7cef-7078-78a9-f47545e6a9fe@bytedance.com> In-Reply-To: <5dbced25-7cef-7078-78a9-f47545e6a9fe@bytedance.com> From: Arnd Bergmann Date: Fri, 5 Aug 2022 09:50:00 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] arm64: run softirqs on the per-CPU IRQ stack To: Qi Zheng Cc: Will Deacon , Linux ARM , Linux Kernel Mailing List , Arnd Bergmann , Catalin Marinas , Mark Rutland Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:LUFvCa+NkK5OFqRlBDrSQkNA1j9iavkAgAc37pCjSiddECGc+zj k55ZwHzP+tN5/IOSW3zpCh2SP5W5QxRyuSQUTpzxCmVtjZ1DyZMwqXcxWRKlOljFhSwdJNB 19f9r13F1rg44iLpkmLv+b/gJRHnX1KYJEjIf4Gq0pd1qHjLh+r9kHwolb5zD7OeDpVv5VT FC9ZdVSpTjQMRKNa2f8TQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:WjTqJiJzobg=:BJ6Kx9AT1ZE60r+IF5/Lkg Mn2Lxl4WIp9Fan2MB25xty1OQxU/rAUDquWnYfXZN39cki3pRIrTWvkL2WN69gTKThzlzRJXx DeD1N/35vzg2wkaOmvLkgg9mh77SXmuwIIK55da7RdZ2Fk9ncJx8jFaodhDRTcvhl7pFSifMk sEnvqdorpqcS3uEkuGTp8FEpN5LQl6PJOCIHsjd2nPLtXEz3uPQPeZ5qL6urYkrN+QFNfR/dj ZlaynlxQAFMpfJj878eXoMK/5xnWNglVRzcYb3PPKqkku0qzq6BiOlWcu+5W/babLJuEXUg/y zG7Z5ksy/5ZItWp/weNoV+2L929FVVSpPrGyyA/mSOG0Zf//XZywXnB3vdA8LbeKPItEBxk3z WRDWfBrCtSCfUA6Qm/K+oAbJPD3wAvIyEXlS8PUCvvp+M9Eue5A7wxVsAlwHUozd9pZcefIdl Sv9gdpqTwOR6eOVnbvBTYXG9nzePdLcPlkQDVBp7cCSvP2ZSLsrI0n7Jl7gb+f0iXaTXuU84l ODBOSLP8BU8ZgKaY+5DOMtXFZZ6c/YFyd/nl0w+SKp7FzQITVjW16oeFZX9Km6nlsSlJSgy+K 4txpHoKRZ2FlfdL/sOLKMEhf65GiOPocNoRUUVdsaxgKK40KD+PRURCG38rUUhLw2kf5lKAS2 G2Th+Kqvt0NJgpc8Sc4ZjFhdIPkjImW/kf/n6VqZk0Uiw1JqhsaD/jYtC5tmXEG1mhCbM/nCJ kjzkSbAelmuWrMikjDwpFDyYxjCgBgMvk75mYQ== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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 Fri, Aug 5, 2022 at 9:10 AM Qi Zheng wrote: > On 2022/8/2 14:53, 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. > > > > Signed-off-by: Qi Zheng > > Reviewed-by: Arnd Bergmann > > Acked-by: Will Deacon > > Are we good to merge it into 6.0-rc1? I think you misunderstood the timing that Will proposed in https://lore.kernel.org/linux-arm-kernel/d540aaff-ec6a-3f25-dd79-b27b4ad81b36@bytedance.com/ You should send your patch after 6.0-rc1 has been released, to be merged into the linux-next tree and sent as part of the 6.1 merge window. The two ways patches get merged are: - bugfixes can get merged into maintainer trees at any time and sent upstream regardless of the merge window, these never need to wait - non-bugfix patches can get merged into maintainer trees based on an -rc release and then sent upstream during the following merge window. Arnd