Message ID | 20250111070751.2588654-16-yukaixiong@huawei.com (mailing list archive) |
---|---|
State | New |
Headers | show
Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 490ED18C932; Sat, 11 Jan 2025 07:13:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.187 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736579594; cv=none; b=VNmyzTtiVjUEiPdWEHMlbpaJCUMvr1uElPGF+woB2gDo0KlYqQmpJ/D2jB7IyorlQPJ72DEwKrWXp/VcyZo/mBTatYa3GLAM6qQZN6tAywtSMBjwwL9KMVU5DtMO0zd279jMqwRq5Jq/NRwf1HrTbAtGODPPRmSLxGFAUdBzuiI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736579594; c=relaxed/simple; bh=uiU90Cu3upp5X02ljEr2GvEe19Ap3Y8HIIunHdz1DyU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Iff4loATtIxRYh+PDDnCNUBYeti4VrXIZY6zGmPOH39YWAVpGYI2YjG7c0JUkM+wLeGVRFOcy97d9iAJwNMFFrcj3Gi/zdhg3v+VqgPOnEyn1oY3ytOSN0C2TFV4c6Ew7dCE/YxBTfwHIFDrSuMHccK2KZz03SMt8zbMkCwIWwM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.187 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com 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> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: <netdev.vger.kernel.org> List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemh100016.china.huawei.com (7.202.181.102) |
Series |
sysctl: move sysctls from vm_table into its own files
|
expand
|
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Guessing tree name failed - patch did not apply |
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(-)