Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp1415460rwa; Sun, 21 Aug 2022 08:01:17 -0700 (PDT) X-Google-Smtp-Source: AA6agR5Q9jiELKoRiwQVU3U7XvUNabC4wj9fv4tVKhNdhTBehyC6XTLgFY91OPbNlTpuT3IuQs+M X-Received: by 2002:a17:907:c05:b0:73d:6e0a:8d22 with SMTP id ga5-20020a1709070c0500b0073d6e0a8d22mr2902205ejc.646.1661094077204; Sun, 21 Aug 2022 08:01:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661094077; cv=none; d=google.com; s=arc-20160816; b=w4fPkYFthSfwF0KNe7k7cfc2kCRzxWAM/6pCjCWcM8mTaEpteuLXS7RoTm7oPO1vfj JnYdDHrzaqzZrLkov7icNrtJ9NU0OlU5E43yMhFb4e6yrJYfXq6DzTkEwyl7LtjXEp6q Lr+Ya4OBU1V+KfyvFWzTvg68q3Df+ho9oWTvc4EYljtvj5K2HtK0B3QrbFVaatkjjdaT Okvpu3ZonAnCqu3exnewP0VFL6RJZpxwYU/YAVvb7rG1FB0cFhohm9SHX5cMJRA21bVu WG++wkUbOkoVaNCjxsvmKvp4oftHLnZztjxEEWQNABLtvBg24O+J8o0hvma9bLO65Yui HyRQ== 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:dkim-signature; bh=7TUKCSjcaHPE37UhiBYkSJuY33FPi5+gxj6de/o/wMk=; b=ollEBowFa3Ccx0nwgoX39EebIbFz9ihmbsg1PJpCHnDNBLeDKgtMWMyR+cRg/BFoHf JQe6D+llse5wpE1zN3F/3gb3+E5HCcUTO4xNE48+UK7v5Vjzn7/XSfxhwa5CyIzjrWpG m5WAuz4K2eTiVJ8b2yRMD48s8gAjWPFjRS4iFgn1mQ2lnoO8zuap/gvjegvaz7LmL2Bc A+2pMffLFfQsMsJSrOVdPYm/zyjLGOaaq4HKFTbv+Saau19LZnpeF+73wYSwL5fDq0u9 vC0ukaMvyR0JM8UfUYhHFSUOXoHYZwEnootLpU19TopIu9jr7gTmnZ2N1ESGY1d+Hfz5 NiMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="f/InbUJw"; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r11-20020a05640251cb00b0043df391fc57si7940482edd.542.2022.08.21.08.00.51; Sun, 21 Aug 2022 08:01:17 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="f/InbUJw"; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231161AbiHUO63 (ORCPT + 99 others); Sun, 21 Aug 2022 10:58:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229537AbiHUO6X (ORCPT ); Sun, 21 Aug 2022 10:58:23 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3DA56568; Sun, 21 Aug 2022 07:58:20 -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 CB2D7B80D84; Sun, 21 Aug 2022 14:58:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7C939C43144; Sun, 21 Aug 2022 14:58:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661093897; bh=GzHlPdU+t+7DtU8s+ZQkqJLPYJa2D5QllpBgFvrmGaw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=f/InbUJweAfp1LwZGHesZqt6a4G8zsWb4eQ8hwBY+fB8ZNzuv2+o+WZHLNeTfA4WO tP4Obzfca17jnLVlGgFOFqxNd6GFR4jnIKswxHiVPRByKR0FyyfEjvUWSnMKafFXQ4 QOr40w20RSDAD9EvrDPFMMrXNqdtlQCXpnGEoCR3w5CIY8AdxOD/JFzlCAcvspGNEm DVW630OZ50JWDkTiPs1UE7dtpdaCNgkS+cAO/JlCROhsav5Fnx6kPk1iKt/dCeUOfS RZB0YxyQZs+ZabqVHYJ21sh7i3kcM3kQyE6cLB3Q80qen46LSIsGqGB9qTe2iH9WI3 DNgxHvxgpF3Bw== Received: by mail-pj1-f54.google.com with SMTP id r15-20020a17090a1bcf00b001fabf42a11cso9000965pjr.3; Sun, 21 Aug 2022 07:58:17 -0700 (PDT) X-Gm-Message-State: ACgBeo1UzReVqDkROWqIcvulnkUnBnVpiaaxctKQ499dF6GT+/QjCwdX +b4iybb37ZGKGYbqs43Zl0O8nek38JbGC+MxySk= X-Received: by 2002:a05:6102:390d:b0:387:78b9:bf9c with SMTP id e13-20020a056102390d00b0038778b9bf9cmr6025080vsu.43.1661093886384; Sun, 21 Aug 2022 07:58:06 -0700 (PDT) MIME-Version: 1.0 References: <20220819014406.32266-1-wangkefeng.wang@huawei.com> In-Reply-To: From: Huacai Chen Date: Sun, 21 Aug 2022 22:57:53 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kernel: exit: cleanup release_thread() To: Catalin Marinas Cc: Kefeng Wang , Richard Henderson , Ivan Kokshaysky , Matt Turner , Vineet Gupta , Russell King , Will Deacon , Guo Ren , Brian Cain , 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, LKML , linux-snps-arc@lists.infradead.org, linux-arm-kernel , linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-ia64@vger.kernel.org, loongarch@lists.linux.dev, linux-m68k , "open list:MIPS" , openrisc@lists.librecores.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv , linux-s390@vger.kernel.org, Linux-sh list , sparclinux@vger.kernel.org, linux-um , linux-xtensa@linux-xtensa.org, Andrew Morton Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 For LoongArch parts: Acked-by: Huacai Chen On Sun, Aug 21, 2022 at 7:54 PM Catalin Marinas wrote: > > 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