From patchwork Thu Aug 1 06:08:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 13749630 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 04627C3DA4A for ; Thu, 1 Aug 2024 06:09:07 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 80AC06B0083; Thu, 1 Aug 2024 02:09:07 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7E1776B0088; Thu, 1 Aug 2024 02:09:07 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6A9D86B0089; Thu, 1 Aug 2024 02:09:07 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 4BB3E6B0083 for ; Thu, 1 Aug 2024 02:09:07 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id B3E0E1C1B57 for ; Thu, 1 Aug 2024 06:09:06 +0000 (UTC) X-FDA: 82402648692.15.979DED6 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by imf05.hostedemail.com (Postfix) with ESMTP id 579EC100017 for ; Thu, 1 Aug 2024 06:09:03 +0000 (UTC) Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=jnYRQTD4; spf=pass (imf05.hostedemail.com: domain of rppt@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=rppt@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1722492470; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=wZ242ZOd8/0+flpTZ9kfJElYFRYLhOV1ntrlJ80jrR4=; b=fuRTHu7lWS5QjqTxfkv5oddHMsHO5IbxJfIhOxJXEEBZvJL1kq+fx77Ohx87+WSp2E9yVh 5B7EirJ9iTl5y1u8pbyt08pDga8h3OsnIorGiVpQrs/ibraO6GMGDEE9+tJMtahoheExMl XLSwvBK8WHDsF2X7NEF0m+Ef/aLgqFs= ARC-Authentication-Results: i=1; imf05.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=jnYRQTD4; spf=pass (imf05.hostedemail.com: domain of rppt@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=rppt@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1722492470; a=rsa-sha256; cv=none; b=TX8PokLRguLmkeVtX0V7KkAa2A44kbUBtaXaFOx+9pI4/jpJYG61GaSIAvoVtQl/PgGrgn Sta0nLQtmgeCIaLN6EmeNNmUClxiE0Jw/3D7yjR8IbzRKgseFG3iuuMyThNQq30uvU4eY6 oIBwglIq/ysW4iVM0SYmYGK3Mxk0Eys= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id E5BCDCE12D4; Thu, 1 Aug 2024 06:09:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 160B6C4AF0D; Thu, 1 Aug 2024 06:08:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1722492539; bh=ahZO7HcpjJfu28QyxaeMh/IeX+F8/tsP9+GBaY7P+JU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jnYRQTD4LOi6UYgIg7wnq6U4iqrnpuP08zjDaKgtXu3WJUYa/E097kuxH2aeK5VY/ Bcq+eK7GU5lblfPhzlOYIPo3Arzk4E40wMmg3gN1FTZ2TxhvcvhTRw68CsZTvioJTn Wk3ISPON95CHAcboKkfATHNIu6XwkVsh4264IZAISjY8p9ijm4bYlQ+mnOeh5hZziE RPlKjD3veB4BttqTLV9MIi8S0/XpTfL9SupmvL01R3UMwD8Xz5dAC7pERBZLD3bqkX W9+XZrhHYiJ2Mids5IYyn3anSkKL5z5ZYL4TiQyrUAV2GaerVPAbMpNy9iVuloAcq2 f8gJBIb48MQag== From: Mike Rapoport To: linux-kernel@vger.kernel.org Cc: Alexander Gordeev , Andreas Larsson , Andrew Morton , Arnd Bergmann , Borislav Petkov , Catalin Marinas , Christophe Leroy , Dan Williams , Dave Hansen , David Hildenbrand , "David S. Miller" , Davidlohr Bueso , Greg Kroah-Hartman , Heiko Carstens , Huacai Chen , Ingo Molnar , Jiaxun Yang , John Paul Adrian Glaubitz , Jonathan Cameron , Jonathan Corbet , Michael Ellerman , Mike Rapoport , Palmer Dabbelt , "Rafael J. Wysocki" , Rob Herring , Samuel Holland , Thomas Bogendoerfer , Thomas Gleixner , Vasily Gorbik , Will Deacon , Zi Yan , devicetree@vger.kernel.org, linux-acpi@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-cxl@vger.kernel.org, linux-doc@vger.kernel.org, linux-mips@vger.kernel.org, linux-mm@kvack.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, nvdimm@lists.linux.dev, sparclinux@vger.kernel.org, x86@kernel.org, Jonathan Cameron Subject: [PATCH v3 01/26] mm: move kernel/numa.c to mm/ Date: Thu, 1 Aug 2024 09:08:01 +0300 Message-ID: <20240801060826.559858-2-rppt@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240801060826.559858-1-rppt@kernel.org> References: <20240801060826.559858-1-rppt@kernel.org> MIME-Version: 1.0 X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 579EC100017 X-Stat-Signature: 4i6p6tbmtpu3t398kiyyfsjp5efsyrct X-Rspam-User: X-HE-Tag: 1722492543-277408 X-HE-Meta: U2FsdGVkX1/lc+9dX3y72eOTceCNeDHpNCVmiTfN4Os/QvvnKXgbpWvc41CikWaw46O0mGuE+E2NtUahpMX4ZKRtYZ5hFPRsHYx8tdKLBBRIY5qI9ATWb2kwcEeldaD02s9o5P7zqc78scAarnCGwlRpAWgSMbkoox72b2VAo2gVdroP2WfY+VbORBWEb6ojlc1mhmvk4w4b+wHKwna1J2WcaIoq1v5ia/VB7+IoDIJqBcmLxVjXYercPlVE2v1UDyIj0Cg655l0+g9QsXOll0AGzsbCS/KhWpG/LzUnelUI7m8QjP6mexdA4AGFFyx4p3+LrdnbjtOcF/ltkDL8Hgyc+GekBeF1BSY2MZczAgLQyIbkhgBdfJlCYJnSwUqRMwWdlsdM/7LErm13CeE6yy4LVPxKCgWiZ8gRYYywGEUQQgLK/fjEC9asQ1lOKgR/pzNKmS6FFSInI2sNF0X23beAOA1RrrJAFD89QO1NCplGcMDbkWowTTup0I5WnJOc9XnhU06tIwelgVguFSmAyF4pECAUwCmlas2JcL+IBT3Vu3zqBjEWwmTWHEQoIu8JWlwngnUlGX7/ru2popKsOGUO2gM0qKOIeK0pbEPKRSljZpe2TlIGpc2/bJUzsgHZTPIw4xic5NAEDvZkm9W3dooYIec69quRd1ALsoVvIAn+l2jz7dA5dyghmtlQoPjfkDLJw4Z45W2gu12X7HSS4H66JUxAyU4QaiMl8Nn9yiAtAUKdlc/BG77OX3z7hRMVxMBZPnEIiwQTo4epXS7yUaaCiWVv97qOpW1ZGaNbe96mRFY10sser9+jnwSVjElXnQQTT/f6xH/4E9S9QO8a4amrsNv1MTxPaYIibKGoiXUJpy6OOP7GUGqvfnn1txsi+Wvra3KA7omeeMRbXHBjsGKXDZj5OQPLJN/kifJUNV/geMND2eWHvNvEMEEoxE63lpZ05MvzDv9vd4vVUkc zr/zspSW 6pjow14r3mBMgPBpta6CjQprX1iBrHVjJkZs1xtoHh2B6UNd9TDDJf5KeArKxxsTELouqiKMQhhfltfY3068McNVsaMFmzsvN2kLtECF/Uas0OYSY5NUn6NRpv0R9XpxKXkEdv8pFaVVdAdXW7khxUyms7UdMUSyGHsDvQM7tFk41fpdGIfWIwLK/RpEQKd8UUkMOF7eFNBi93ArZtAKW15mnmtC92D1MLY1r0VTgCixdvDFM+rBLV/6WLHL82vzjlAZAN1yd6wsJTfYz8tSgDFIgA5s9fLCqTna3KAPKY6YW1C2mZyJIRdEgsuLvUUp1QRTiRpSDP3AaTM61ZLsz08+jNg== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: From: "Mike Rapoport (Microsoft)" The stub functions in kernel/numa.c belong to mm/ rather than to kernel/ Signed-off-by: Mike Rapoport (Microsoft) Acked-by: David Hildenbrand Reviewed-by: Jonathan Cameron Tested-by: Zi Yan # for x86_64 and arm64 --- kernel/Makefile | 1 - mm/Makefile | 1 + {kernel => mm}/numa.c | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename {kernel => mm}/numa.c (100%) diff --git a/kernel/Makefile b/kernel/Makefile index 3c13240dfc9f..87866b037fbe 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -116,7 +116,6 @@ obj-$(CONFIG_SHADOW_CALL_STACK) += scs.o obj-$(CONFIG_HAVE_STATIC_CALL) += static_call.o obj-$(CONFIG_HAVE_STATIC_CALL_INLINE) += static_call_inline.o obj-$(CONFIG_CFI_CLANG) += cfi.o -obj-$(CONFIG_NUMA) += numa.o obj-$(CONFIG_PERF_EVENTS) += events/ diff --git a/mm/Makefile b/mm/Makefile index d2915f8c9dc0..4e668be85f0b 100644 --- a/mm/Makefile +++ b/mm/Makefile @@ -141,3 +141,4 @@ obj-$(CONFIG_HAVE_BOOTMEM_INFO_NODE) += bootmem_info.o obj-$(CONFIG_GENERIC_IOREMAP) += ioremap.o obj-$(CONFIG_SHRINKER_DEBUG) += shrinker_debug.o obj-$(CONFIG_EXECMEM) += execmem.o +obj-$(CONFIG_NUMA) += numa.o diff --git a/kernel/numa.c b/mm/numa.c similarity index 100% rename from kernel/numa.c rename to mm/numa.c