Message ID | 20250111070751.2588654-16-yukaixiong@huawei.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 E436AE7719C for <linux-mm@archiver.kernel.org>; Sat, 11 Jan 2025 07:13:16 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 74B306B00B8; Sat, 11 Jan 2025 02:13:16 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 6AC746B00B9; Sat, 11 Jan 2025 02:13:16 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4FF776B00BA; Sat, 11 Jan 2025 02:13:16 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 2957D6B00B8 for <linux-mm@kvack.org>; Sat, 11 Jan 2025 02:13:16 -0500 (EST) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id DB280A1129 for <linux-mm@kvack.org>; Sat, 11 Jan 2025 07:13:15 +0000 (UTC) X-FDA: 82994304750.14.3F7D79F Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by imf21.hostedemail.com (Postfix) with ESMTP id C0C2F1C0004 for <linux-mm@kvack.org>; Sat, 11 Jan 2025 07:13:13 +0000 (UTC) Authentication-Results: imf21.hostedemail.com; dkim=none; spf=pass (imf21.hostedemail.com: domain of yukaixiong@huawei.com designates 45.249.212.187 as permitted sender) smtp.mailfrom=yukaixiong@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1736579594; 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-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CCQ7w/01MGUd2FzQ58ChHLKca2onWlDkjLjIm+X2h3U=; b=pRGl650VaIfjdsiRHjylEtPjWUg2Y4pCM2Eyp/z1yGyKNRqGWrAUiT3xhenQf7iFLDycpt tyFBlOzoZw8zaALrfE/NPBepfvSkyxK5mT2wqWyOlXkYBaOvF7mzJ/WaGQMKuXZIXO4GSs 1it9A118DJPtYXoM2yT511JFyvdO3VU= ARC-Authentication-Results: i=1; imf21.hostedemail.com; dkim=none; spf=pass (imf21.hostedemail.com: domain of yukaixiong@huawei.com designates 45.249.212.187 as permitted sender) smtp.mailfrom=yukaixiong@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1736579594; a=rsa-sha256; cv=none; b=kA/ptjorTVEHht4+7++jyrZbaURK9xANSh/ECPwK9j1a3KiOzES4pmMWBCB5ybo+OBzdvf vJscFOrhqJ7MgXcG6cqLc2/X+gHlupn8BYrRrb7FR4nAZJJouM2iQd4/tRwRzXP7bGtdUu xxKs5mamiTg5/Y5b1LIVvjbUq2yvcRs= Received: from mail.maildlp.com (unknown [172.19.88.105]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4YVV511LZ7z11MSs; Sat, 11 Jan 2025 15:09:25 +0800 (CST) Received: from kwepemh100016.china.huawei.com (unknown [7.202.181.102]) by mail.maildlp.com (Postfix) with ESMTPS id E49F31401F0; Sat, 11 Jan 2025 15:13:10 +0800 (CST) Received: from huawei.com (10.175.113.32) by kwepemh100016.china.huawei.com (7.202.181.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Sat, 11 Jan 2025 15:13:07 +0800 From: Kaixiong Yu <yukaixiong@huawei.com> To: <akpm@linux-foundation.org>, <mcgrof@kernel.org>, <joel.granados@kernel.org> CC: <ysato@users.sourceforge.jp>, <dalias@libc.org>, <glaubitz@physik.fu-berlin.de>, <luto@kernel.org>, <tglx@linutronix.de>, <mingo@redhat.com>, <bp@alien8.de>, <dave.hansen@linux.intel.com>, <hpa@zytor.com>, <viro@zeniv.linux.org.uk>, <brauner@kernel.org>, <jack@suse.cz>, <kees@kernel.org>, <j.granados@samsung.com>, <willy@infradead.org>, <Liam.Howlett@oracle.com>, <vbabka@suse.cz>, <lorenzo.stoakes@oracle.com>, <trondmy@kernel.org>, <anna@kernel.org>, <chuck.lever@oracle.com>, <jlayton@kernel.org>, <neilb@suse.de>, <okorniev@redhat.com>, <Dai.Ngo@oracle.com>, <tom@talpey.com>, <davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>, <pabeni@redhat.com>, <paul@paul-moore.com>, <jmorris@namei.org>, <linux-sh@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-fsdevel@vger.kernel.org>, <linux-mm@kvack.org>, <linux-nfs@vger.kernel.org>, <netdev@vger.kernel.org>, <linux-security-module@vger.kernel.org>, <dhowells@redhat.com>, <haifeng.xu@shopee.com>, <baolin.wang@linux.alibaba.com>, <shikemeng@huaweicloud.com>, <dchinner@redhat.com>, <bfoster@redhat.com>, <souravpanda@google.com>, <hannes@cmpxchg.org>, <rientjes@google.com>, <pasha.tatashin@soleen.com>, <david@redhat.com>, <ryan.roberts@arm.com>, <ying.huang@intel.com>, <yang@os.amperecomputing.com>, <zev@bewilderbeest.net>, <serge@hallyn.com>, <vegard.nossum@oracle.com>, <wangkefeng.wang@huawei.com> Subject: [PATCH v5 -next 15/16] sysctl: remove the vm_table Date: Sat, 11 Jan 2025 15:07:50 +0800 Message-ID: <20250111070751.2588654-16-yukaixiong@huawei.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250111070751.2588654-1-yukaixiong@huawei.com> References: <20250111070751.2588654-1-yukaixiong@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.175.113.32] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemh100016.china.huawei.com (7.202.181.102) X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: C0C2F1C0004 X-Rspam-User: X-Stat-Signature: g83m658wtbp96413h6ktn38qkkpd96zg X-HE-Tag: 1736579593-244249 X-HE-Meta: U2FsdGVkX1/zkWLJkgs2q5ddxISDmdeDuVzqbvlmCOu/nwibNpv1THyE96mNXumHHIXRcjOzP6fNnJeYScQca8quR1RsiCY3V86xpEIS9IB5Yaas01VPQ+EGc2XkbEImF6OTHrKCk+gVdi3VkH6u68IODFI8LDGdB5Gv/aB3NW9uiOeNAm6SqNk+H/Qa9vR/822fBZMZDqwRhuppU2KAQVts06YvZ1ZgZ+tO59xvWaZ+5xufyjUe+DGZRqatGoUiTFvrtZyuCMDf9Tx3AXKwY38RBK093wFvyr/95jokmPPJ/vF2jHcey/TDzmvwZVjIWIvdCFl5uiCzXFbFLtC8T/n941r0qY3jiRMQYPUxzZjeIUNnusjwyx1D0TbBA2mFLMOTMR/YndYJyFuaqzB4tXem6NvQFLT8DlyjYfGoZ52vh9Duh1L7cPfibkIOI0ZMYe+Va8rdgsTEiBWlkPNhkMd14ejBFLktkIF1BnoIFzQQy8lW34QzhBGwjysIIuV0R8jM/w7tS/r/VfdPTphHDeaZ0bvh42bEG8uLQhAZbKHTI3K62BTsEK5z6Yyzd4ZGby5WeD1moFh9ixt0QNzKLuEVAdkH+yAs90LUCDRCe6mLyj/lzvpKWXdDuOnHvxHHO9e8iVijYyaT3QLPBTKcO17ldOy9jUqQf1Bwfl/0B8YA44msDzfqKTl9eHwLQgzX/EKsIXwobJ+iIl43R8mcpW1ey4+6K0q8VXnTgNtahSCoBD2+nc6mKE9nCwajlL8NLOWZWC9naXvp03E5H6wsGjzWCk8dwilv0dRCmge67jnywKG5PMHpV5O1L5kfOE0IDPuvdud5XwtsgiTUB/POv13AEkC2iNFsbtPGzkB6RGm8E/PdGO464BXnMy51S2SkrTPXBMfhhJlBpUA3LnqCfJ3e6mZ/ZJqQbnJcoUWeb/QqZW6Yq97G7rURdckD77AKS04U0Fj8uLoRqkZCuRf XyHgFhN0 mGJ06KwFNZeW30w9JdgqDfZauY61DwjTppyjaMdq180jzcQ6nIZh+1u/2vTKaO8rOFQpGKNo+ZcEf+Ps1R3KYO0Lg4wxVzlLR6/r84n57xsl4pcUNNP0ovJD77gqunmbnyFdA51weJmEdD/RiwAAtOcJBgdRQWVTg9tDl3S82rDY/p4sMFkr+EBTMx8B7/vTMihf2 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: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
sysctl: move sysctls from vm_table into its own files
|
expand
|
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 21c362768358..cebd0ef5d19d 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -2012,12 +2012,9 @@ static struct ctl_table kern_table[] = { #endif }; -static struct ctl_table vm_table[] = {}; - int __init sysctl_init_bases(void) { register_sysctl_init("kernel", kern_table); - register_sysctl_init("vm", vm_table); return 0; }
After patch1~14 is applied, all sysctls of vm_table would be moved. So, delete vm_table. Signed-off-by: Kaixiong Yu <yukaixiong@huawei.com> --- v5: - take the advice of Joel Granados, separating moving the vdso_enabled table and removing the vm_table into two parts. This patch removes the vm_table. --- --- kernel/sysctl.c | 3 --- 1 file changed, 3 deletions(-)