From patchwork Tue Jul 23 06:41:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 13739428 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 6CF81C3DA63 for ; Tue, 23 Jul 2024 06:42:37 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E45D26B0088; Tue, 23 Jul 2024 02:42:36 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id DF7386B008A; Tue, 23 Jul 2024 02:42:36 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CE5826B008C; Tue, 23 Jul 2024 02:42:36 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id ADBB76B0088 for ; Tue, 23 Jul 2024 02:42:36 -0400 (EDT) Received: from smtpin17.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 4CCE581CA6 for ; Tue, 23 Jul 2024 06:42:36 +0000 (UTC) X-FDA: 82370073912.17.BA9FC6F Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by imf16.hostedemail.com (Postfix) with ESMTP id 109BE180002 for ; Tue, 23 Jul 2024 06:42:33 +0000 (UTC) Authentication-Results: imf16.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=b6kFqW4f; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf16.hostedemail.com: domain of rppt@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=rppt@kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1721716903; 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=sYD9yS7nV1HjKmYlc35bPY0UhZ3EgO+OhG0j/XyBiqY=; b=UF8+3A8OxnJfLGmPlQG0OijK4X/BtrUPDJVoqQMHV/zNqPCzW0cK5dgYk9z2cZfUifHLkh Q+20I7YavAJqaMB8vD2q4Xj0xUREFLll0hs1GofhjrU6s6D9UIzac/eySDI0yEr3kK9sra uOz8KkQ2vEUZbFW21DWodVxYUvtKfGE= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1721716903; a=rsa-sha256; cv=none; b=CslddIMXNLrXgllZE6yYaZjCHDSqV/Prgead+aGwEx6XPD6nvIU1svBBJ1yFoSVqaSXfow 9jabLxkr4qp27cmfamMOzFeA97hlxK9tbCll2B9zbPBMCRlVufjD3Y4911C9IIZll571DJ FYHRXYy8/IGbc5Q7+5qtm4WNtWvSqUs= ARC-Authentication-Results: i=1; imf16.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=b6kFqW4f; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf16.hostedemail.com: domain of rppt@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=rppt@kernel.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 8AB85CE0C6D; Tue, 23 Jul 2024 06:42:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B906C4AF14; Tue, 23 Jul 2024 06:42:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721716948; bh=MOsy21Nh9Bn3Vq+Q4UEQvGTzwylkpR0+vopd3cmOc8o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=b6kFqW4fzlXewzWkdUPTd5wHONXKf4PwHJ7rcvwCrxdIEdWmza/QKg9b1mM5EEx1b txHRwjYCnReOXccINfBSu63YgvwYTo4m938vTFiVPXindhW0+nt4L4nhySFkUjjYtJ QEnY12RVSXU4gmWybse3Akv7f+RuyOn/3e9yX5FpIPA4vnbnAxyIxN9d59MClKPT7y Wjb/LLqkF23TTVUf6ys9+IrvUVK7kMuO2WDzcj9pjvVf0MPSjX1Rq5xUVWFOrxw6By JbcMkFH9uNNmsftEA7Zq2i3mE+5SycQW1IyHwYhtsk2+LjCI19lIx+RUoBTZ0SDGUW LpVc7vZrknebw== 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 v2 01/25] mm: move kernel/numa.c to mm/ Date: Tue, 23 Jul 2024 09:41:32 +0300 Message-ID: <20240723064156.4009477-2-rppt@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240723064156.4009477-1-rppt@kernel.org> References: <20240723064156.4009477-1-rppt@kernel.org> MIME-Version: 1.0 X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 109BE180002 X-Stat-Signature: ur8xfzp1q4s65k7587ezfwxue4r7rc3e X-Rspam-User: X-HE-Tag: 1721716953-48497 X-HE-Meta: U2FsdGVkX18+T3Lr7Py0PvwJ3+RzqG9j6HdX+OV4LEaRAAzJMiEayrpNMPIdUhHjn6wAs/qlR6wL3MZ+iRDIp7wITppMnPUNZGZ52X7UMkcjdxmtQjoOzyyISa1TBACvPVVbjmqlKgqxU3AaPMytG1ziMtho6SAySArNCNY0ojDItfDFdA/ndxQXlV93oceCRuijhrVEcyl62QOUjm6vHJ+4a9i0n+MEMZikDM6HI8POKmljxsgtXnkhQaL/4o5lH9Y49gVmsVKNpBdqNTxn1p9TZDaoLC9AZYdwvF7ABBKKUngOW5fFmqhsIhtN/d38YEOPp6l2iEUcXkqyxMIrTVw1QHHmPigCQIms344wB/EMB8A67fEeicI4bJlKY4LaOgpX7ZAe2JSZeS+0xv5iKtiwhTNbpV3BTYgKfVSkDh3565NEyXeD6Bbl/C+2ub3rz7Crcdb17vWsQOViswrcOEzX2W/gPkIdE7djJFeyZKlY+vWNKqB1Uwcn5mObLrnMUGcetg6C48CGRLf4xElrRLECZF/ms3JRBvDzFbKA1Tsc84vwYCE6stsf8SA3iERex5nbmT00WPM7t5ATZTL7BJXnk7K4vOMOJYb2vbbTP3aCeWWZwCCKWIjo+9Wrq/Y+s9Gv3oNtPnEk+HYH9FP3AwxDcGhlXBvvddIDMhXrQ/zK9g0uMwaRNZWq4IsC4yS4ietjYHCuTmjAMfd6zuC0eihpfNQCPRDXRzW++rivmDqrG+bKJ3hlOghehczNlyFykUnoSjEvx++DJVve4xc7cHHJKDoNwDD2T7iP56Vc9YTTbNzSMJNmEqgGFuIwzXuI0tGEt5rV/EXvUNQjA6eW30qNRGzSnd1DiaYHarvPh7uLeifJjqxMljBgqPHU9fkZBQQVsByKnChudnVdiD5VeCSa8IZTtSMp/Hu6iZXtSKAeXUKjU/Wfjum8hytZ9US8OXYhG9BoaN40B8MNEQb s7/JwBmq eBfSG1j4Y9hnhB4+OkwCdT+hgRbPGuk45PllTX7Tzp7xXS7vibduBfH+G0zHTtdCEBMzezpDbV4C0gDzUDDuAi0nEJabo2Y3wGoFHrhZwzqzOmzkKMJ0Os6PcrYG1LctuvTVWZJV8p2BaQ+Q46enVBbOkPHy2DJgQrP9bk3OWSLfNisBpd4NZNpHGV+t4sV5iSaep+qZ9z8lTINVFi5ASxhRBBn68DSLiX9+ObXq5VZl5NRtgYT+/pWd8/++3PuB8YWfVmc6uJVgujp3i8f7AFqbKDLaXtE/bxH69gDLDqUi1bXq6fI+UUPaK9D5oLBvb3KPj 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 --- 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 8fb85acda1b1..773b3b267438 100644 --- a/mm/Makefile +++ b/mm/Makefile @@ -139,3 +139,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