Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp1275536rwa; Sun, 21 Aug 2022 05:09:44 -0700 (PDT) X-Google-Smtp-Source: AA6agR54O2B0ODp7HUXKzLOxeJ/jq14+FvitgJWAOdvbnVBBLNV7rg4LrkkSgPDXE4zDNhqUQkHI X-Received: by 2002:a17:907:929:b0:731:3bb6:d454 with SMTP id au9-20020a170907092900b007313bb6d454mr9828216ejc.96.1661083784011; Sun, 21 Aug 2022 05:09:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661083784; cv=none; d=google.com; s=arc-20160816; b=unxbtbmhiS4V4XZzRkPCWnH1rqdWtyROpIRQ+UqUvxiZiEVuHRe3EVvWtD0D7keupH ZyHnbQoO5TGd32xE5QHTdMoZ2j21Sjk+c93xsq9CFX2VG5qRYFeXelA5NlVYKjCMiqcT U3escacODhiZ6GXxJ6oFNdpSWfCU9I030oAEhIRXg9Y4q0JN2J0aH08nwpLuiEk5MD72 Bn1Wu2qMSMvPzLzZ/Wp7x6fv9FUlvzCtpVXPRm73bpu+nolZYXkmT5d7U0F4aXOK6uFo TKSs1cY5zPsCAR0ZX/JdGJ1NdM6x6I6Oqw3gIazzbJzAambqtcddNezGPpMJozBXR/pt cMgA== 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:date; bh=xvPX7t0LyoQYL9JCZs71K1SPh4/bn5SwMisKEX38haU=; b=kQuHsDb0EQrfdMDOC/ZN81n6UoV5dQLwfPvh42ZFSlzk3htxMp/ACqbukiYyQGnzAY +R9mrUvR2+T5sireMQ6uDcptBE4Pogz/aYdhWgucKca6hdNIOsTifhkvchdNemztlbb6 DZCF67T8Tx/HEs0n3o6MIwDM8T/3lxZ29GN+swa/hVQQZnN8ez4vIflS1d74MZgCZOXQ QEZ3if+kRvh1LUHEeO+HOvs66jaCMAEv0hEu5mgM+VGbSz6FblSiRikm/9EHVqeFWNLV zNV1GyoI0JcbWbFzRaAeDNtLJmaDmc4b3B7ZfiQgl/8T3bansd2KekC21KHZd2a1403E i5EQ== 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 x2-20020a056402414200b0043c8f3fe2ebsi2007365eda.74.2022.08.21.05.09.16; Sun, 21 Aug 2022 05:09:43 -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 S229673AbiHULy6 (ORCPT + 99 others); Sun, 21 Aug 2022 07:54:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbiHULy5 (ORCPT ); Sun, 21 Aug 2022 07:54:57 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDD1413D1D; Sun, 21 Aug 2022 04:54:55 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 7947860E04; Sun, 21 Aug 2022 11:54:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D09E1C433B5; Sun, 21 Aug 2022 11:54:30 +0000 (UTC) Date: Sun, 21 Aug 2022 12:54:22 +0100 From: Catalin Marinas To: Kefeng Wang Cc: Richard Henderson , Ivan Kokshaysky , Matt Turner , Vineet Gupta , Russell King , Will Deacon , Guo Ren , Brian Cain , Huacai Chen , WANG Xuerui , Geert Uytterhoeven , Michal Simek , Thomas Bogendoerfer , Dinh Nguyen , Jonas Bonn , Stefan Kristiansson , Stafford Horne , "James E . J . Bottomley" , Helge Deller , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Paul Walmsley , Palmer Dabbelt , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Yoshinori Sato , Rich Felker , "David S . Miller" , Richard Weinberger , Anton Ivanov , Johannes Berg , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, Chris Zankel , Max Filippov , linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-ia64@vger.kernel.org, loongarch@lists.linux.dev, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, openrisc@lists.librecores.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-um@lists.infradead.org, linux-xtensa@linux-xtensa.org, akpm@linux-foundation.org Subject: Re: [PATCH] kernel: exit: cleanup release_thread() Message-ID: References: <20220819014406.32266-1-wangkefeng.wang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220819014406.32266-1-wangkefeng.wang@huawei.com> 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 Fri, Aug 19, 2022 at 09:44:06AM +0800, Kefeng Wang wrote: > Only x86 has own release_thread(), introduce a new weak > release_thread() function to clean empty definitions in > other ARCHs. > > Signed-off-by: Kefeng Wang [...] > arch/arm64/include/asm/processor.h | 3 --- > arch/arm64/kernel/process.c | 4 ---- Acked-by: Catalin Marinas