[PATCH v4 -next 00/15] sysctl: move sysctls from vm_table into its own files

yukaixiong yukaixiong at huawei.com
Thu Jan 9 02:50:17 UTC 2025



On 2025/1/6 20:15, Joel Granados wrote:
> On Sat, Dec 28, 2024 at 10:57:31PM +0800, Kaixiong Yu wrote:
>> This patch series moves sysctls of vm_table in kernel/sysctl.c to
>> places where they actually belong, and do some related code clean-ups.
>> After this patch series, all sysctls in vm_table have been moved into its
>> own files, meanwhile, delete vm_table.
>>
>> All the modifications of this patch series base on
>> linux-next(tags/next-20241219). To test this patch series, the code was
>> compiled with both the CONFIG_SYSCTL enabled and disabled on arm64 and
>> x86_64 architectures. After this patch series is applied, all files
>> under /proc/sys/vm can be read or written normally.
>>
>> Changes in v4:
>>   - due to my mistake, the previous version sent 15 patches twice.
>>     Please ignore that, as this version is the correct one.
> I would not ignore the reviewed-by tags that you got from Lorenzo.
> Please include those moving forward.
Good suggestion!
Thx !
>>   - change all "static struct ctl_table" type into
>>     "static const struct ctl_table" type in patch1~10,12,13,14
>>   - simplify result of rpcauth_cache_shrink_count() in patch11
> ...
>>   mm/vmscan.c                        |  23 +++
>>   mm/vmstat.c                        |  44 +++++-
>>   net/sunrpc/auth.c                  |   2 +-
>>   security/min_addr.c                |  11 ++
>>   23 files changed, 330 insertions(+), 312 deletions(-)
>>
>> -- 
>> 2.34.1
>>
> best
>




More information about the Linux-security-module-archive mailing list