From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1124C3527B for ; Tue, 8 Feb 2022 22:26:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1387645AbiBHWZ6 (ORCPT ); Tue, 8 Feb 2022 17:25:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1387116AbiBHV6x (ORCPT ); Tue, 8 Feb 2022 16:58:53 -0500 X-Greylist: delayed 287 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 08 Feb 2022 13:58:52 PST Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23801C0612B8 for ; Tue, 8 Feb 2022 13:58:52 -0800 (PST) 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 sin.source.kernel.org (Postfix) with ESMTPS id 71554CE1C9B for ; Tue, 8 Feb 2022 21:58:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B237DC004E1; Tue, 8 Feb 2022 21:58:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1644357528; bh=Abxgwp4BR6CyTfJwJz3oEW0B0PQ4eNsas1I5ARiAsVQ=; h=Date:To:From:Subject:From; b=yXSKARH/GCJYw1OD5ycmPAhVnvmOucb/SoCt7SA9X3tmdAsHoHmL6SJrXTUbH6CHx YBP0ai2tlAi3NQWeCHX4djhR/oshOLQULr9vRcm4E0tHTIm3B2+lHvShKRE1b0ExoM TkfH0JWP56HXizoJGiDoMwF/S733RgAEFiIVeuw8= Date: Tue, 08 Feb 2022 13:58:48 -0800 To: mm-commits@vger.kernel.org, wangkefeng.wang@huawei.com, stefan.kristiansson@saunalahti.fi, rppt@linux.ibm.com, rmk+kernel@armlinux.org.uk, nickhu@andestech.com, jonas@southpole.se, green.hu@gmail.com, deanbo422@gmail.com, david@redhat.com, dave.hansen@linux.intel.com, christophe.leroy@c-s.fr, bcain@codeaurora.org, shorne@gmail.com, akpm@linux-foundation.org From: Andrew Morton Subject: + mm-remove-mmu_gathers-storage-from-remaining-architectures.patch added to -mm tree Message-Id: <20220208215848.B237DC004E1@smtp.kernel.org> Precedence: bulk Reply-To: linux-kernel@vger.kernel.org List-ID: X-Mailing-List: mm-commits@vger.kernel.org The patch titled Subject: mm: remove mmu_gathers storage from remaining architectures has been added to the -mm tree. Its filename is mm-remove-mmu_gathers-storage-from-remaining-architectures.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/mm-remove-mmu_gathers-storage-from-remaining-architectures.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/mm-remove-mmu_gathers-storage-from-remaining-architectures.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Stafford Horne Subject: mm: remove mmu_gathers storage from remaining architectures Originally the mmu_gathers were removed in commit 1c3951769621 ("mm: now that all old mmu_gather code is gone, remove the storage"). However, the openrisc and hexagon architecture were merged around the same time and mmu_gathers was not removed. This patch removes them from openrisc, hexagon and nds32: Noticed while cleaning this warning: arch/openrisc/mm/init.c:41:1: warning: symbol 'mmu_gathers' was not declared. Should it be static? Link: https://lkml.kernel.org/r/20220205141956.3315419-1-shorne@gmail.com Signed-off-by: Stafford Horne Acked-by: Mike Rapoport Cc: Brian Cain Cc: Nick Hu Cc: Greentime Hu Cc: Vincent Chen Cc: Jonas Bonn Cc: Stefan Kristiansson Cc: Russell King Cc: David Hildenbrand Cc: Dave Hansen Cc: Kefeng Wang Cc: Christophe Leroy Signed-off-by: Andrew Morton --- arch/hexagon/mm/init.c | 2 -- arch/nds32/mm/init.c | 1 - arch/openrisc/mm/init.c | 2 -- 3 files changed, 5 deletions(-) --- a/arch/hexagon/mm/init.c~mm-remove-mmu_gathers-storage-from-remaining-architectures +++ a/arch/hexagon/mm/init.c @@ -29,8 +29,6 @@ int max_kernel_seg = 0x303; /* indicate pfn's of high memory */ unsigned long highstart_pfn, highend_pfn; -DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); - /* Default cache attribute for newly created page tables */ unsigned long _dflt_cache_att = CACHEDEF; --- a/arch/nds32/mm/init.c~mm-remove-mmu_gathers-storage-from-remaining-architectures +++ a/arch/nds32/mm/init.c @@ -18,7 +18,6 @@ #include #include -DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); DEFINE_SPINLOCK(anon_alias_lock); extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; --- a/arch/openrisc/mm/init.c~mm-remove-mmu_gathers-storage-from-remaining-architectures +++ a/arch/openrisc/mm/init.c @@ -38,8 +38,6 @@ int mem_init_done; -DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); - static void __init zone_sizes_init(void) { unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; _ Patches currently in -mm which might be from shorne@gmail.com are mm-remove-mmu_gathers-storage-from-remaining-architectures.patch