From: yukaixiong <yukaixiong@huawei.com>
To: Joel Granados <joel.granados@kernel.org>
Cc: <akpm@linux-foundation.org>, <mcgrof@kernel.org>,
<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: Re: [PATCH v4 -next 00/15] sysctl: move sysctls from vm_table into its own files
Date: Sat, 28 Dec 2024 21:40:50 +0800 [thread overview]
Message-ID: <ceb3be0a-f035-aaec-286f-8ba95e62deba@huawei.com> (raw)
In-Reply-To: <42tsyuvdvym6i3j4ppsluvx7kejxjzbma5z4jjgccni6kuwtj7@rhuklbyko7yf>
On 2024/12/28 20:15, Joel Granados wrote:
> On Mon, Dec 23, 2024 at 10:15:19PM +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:
>> - 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
>>
>> Changes in v3:
>> - change patch1~10, patch14 title suggested by Joel Granados
>> - change sysctl_stat_interval to static type in patch1
>> - add acked-by from Paul Moore in patch7
>> - change dirtytime_expire_interval to static type in patch9
>> - add acked-by from Anna Schumaker in patch11
>>
>> Changes in v2:
>> - fix sysctl_max_map_count undeclared issue in mm/nommu.c for patch6
>> - update changelog for patch7/12, suggested by Kees/Paul
>> - fix patch8, sorry for wrong changes and forget to built with NOMMU
>> - add reviewed-by from Kees except patch8 since patch8 is wrong in v1
>> - add reviewed-by from Jan Kara, Christian Brauner in patch12
>>
>> Kaixiong Yu (15):
>> mm: vmstat: move sysctls to mm/vmstat.c
>> mm: filemap: move sysctl to mm/filemap.c
>> mm: swap: move sysctl to mm/swap.c
>> mm: vmscan: move vmscan sysctls to mm/vmscan.c
>> mm: util: move sysctls to mm/util.c
>> mm: mmap: move sysctl to mm/mmap.c
>> security: min_addr: move sysctl to security/min_addr.c
>> mm: nommu: move sysctl to mm/nommu.c
>> fs: fs-writeback: move sysctl to fs/fs-writeback.c
>> fs: drop_caches: move sysctl to fs/drop_caches.c
>> sunrpc: simplify rpcauth_cache_shrink_count()
>> fs: dcache: move the sysctl to fs/dcache.c
>> x86: vdso: move the sysctl to arch/x86/entry/vdso/vdso32-setup.c
>> sh: vdso: move the sysctl to arch/sh/kernel/vsyscall/vsyscall.c
>> sysctl: remove unneeded include
> This patchset looks strange. There seems to be 15 patches, but there are
> 30 e-mails in the thread? You can also see this when you look at it in
> lore [1]. And they are different repeated e-mails (mutt does not
> de-duplicate them). Also `b4 shazam ...` does not work. What happened?
> Did you send it twice with the same mail ID? Am I the only one seeing
> this?
>
> I would suggest the following (hopefully you are using b4):
> 1. Check to see how things will be sent with b4. `b4 send --resend -o OUTPUT_DIR`
> If you see 30 emails in that dir from your patchset then something is
> still wrong.
> 2. After you make sure that everything is in order. Do the resend
> without bumping the version up (leave it at version 4)
>
> Best
>
> [1] : https://lore.kernel.org/all/20241223141550.638616-1-yukaixiong@huawei.com/
I'm very sorry, due to my mistake, 15 patches were sent twice.
Sorry, again! I will resend these 15 patches, and leave it at version 4
>> arch/sh/kernel/vsyscall/vsyscall.c | 14 ++
>> arch/x86/entry/vdso/vdso32-setup.c | 16 ++-
>> fs/dcache.c | 21 ++-
>> fs/drop_caches.c | 23 ++-
>> fs/fs-writeback.c | 30 ++--
>> include/linux/dcache.h | 7 +-
>> include/linux/mm.h | 23 ---
>> include/linux/mman.h | 2 -
>> include/linux/swap.h | 9 --
>> include/linux/vmstat.h | 11 --
>> include/linux/writeback.h | 4 -
>> kernel/sysctl.c | 221 -----------------------------
>> mm/filemap.c | 18 ++-
>> mm/internal.h | 10 ++
>> mm/mmap.c | 54 +++++++
>> mm/nommu.c | 15 +-
>> mm/swap.c | 16 ++-
>> mm/swap.h | 1 +
>> mm/util.c | 67 +++++++--
>> 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
>>
next prev parent reply other threads:[~2024-12-28 13:41 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-23 14:15 [PATCH v4 -next 00/15] sysctl: move sysctls from vm_table into its own files Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 01/15] mm: vmstat: move sysctls to mm/vmstat.c Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 02/15] mm: filemap: move sysctl to mm/filemap.c Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 03/15] mm: swap: move sysctl to mm/swap.c Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 04/15] mm: vmscan: move vmscan sysctls to mm/vmscan.c Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 05/15] mm: util: move sysctls to mm/util.c Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 06/15] mm: mmap: move sysctl to mm/mmap.c Kaixiong Yu
2025-01-02 14:08 ` Lorenzo Stoakes
2025-01-09 2:20 ` yukaixiong
2024-12-23 14:15 ` [PATCH v4 -next 07/15] security: min_addr: move sysctl to security/min_addr.c Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 08/15] mm: nommu: move sysctl to mm/nommu.c Kaixiong Yu
2025-01-02 14:09 ` Lorenzo Stoakes
2025-01-09 2:26 ` yukaixiong
2024-12-23 14:15 ` [PATCH v4 -next 09/15] fs: fs-writeback: move sysctl to fs/fs-writeback.c Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 10/15] fs: drop_caches: move sysctl to fs/drop_caches.c Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 11/15] sunrpc: simplify rpcauth_cache_shrink_count() Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 12/15] fs: dcache: move the sysctl to fs/dcache.c Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 13/15] x86: vdso: move the sysctl to arch/x86/entry/vdso/vdso32-setup.c Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 14/15] sh: vdso: move the sysctl to arch/sh/kernel/vsyscall/vsyscall.c Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 15/15] sysctl: remove unneeded include Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 00/15] sysctl: move sysctls from vm_table into its own files Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 01/15] mm: vmstat: move sysctls to mm/vmstat.c Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 02/15] mm: filemap: move sysctl to mm/filemap.c Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 03/15] mm: swap: move sysctl to mm/swap.c Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 04/15] mm: vmscan: move vmscan sysctls to mm/vmscan.c Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 05/15] mm: util: move sysctls to mm/util.c Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 06/15] mm: mmap: move sysctl to mm/mmap.c Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 07/15] security: min_addr: move sysctl to security/min_addr.c Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 08/15] mm: nommu: move sysctl to mm/nommu.c Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 09/15] fs: fs-writeback: move sysctl to fs/fs-writeback.c Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 10/15] fs: drop_caches: move sysctl to fs/drop_caches.c Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 11/15] sunrpc: simplify rpcauth_cache_shrink_count() Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 12/15] fs: dcache: move the sysctl to fs/dcache.c Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 13/15] x86: vdso: move the sysctl to arch/x86/entry/vdso/vdso32-setup.c Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 14/15] sh: vdso: move the sysctl to arch/sh/kernel/vsyscall/vsyscall.c Kaixiong Yu
2024-12-23 14:15 ` [PATCH v4 -next 15/15] sysctl: remove unneeded include Kaixiong Yu
2024-12-28 12:15 ` [PATCH v4 -next 00/15] sysctl: move sysctls from vm_table into its own files Joel Granados
2024-12-28 13:40 ` yukaixiong [this message]
2025-01-06 11:22 ` Joel Granados
2025-01-09 2:35 ` yukaixiong
-- strict thread matches above, loose matches on Subject: below --
2024-12-28 14:57 Kaixiong Yu
2024-12-28 15:11 ` Jeff Layton
2024-12-30 2:58 ` yukaixiong
2025-01-06 12:15 ` Joel Granados
2025-01-09 2:50 ` yukaixiong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ceb3be0a-f035-aaec-286f-8ba95e62deba@huawei.com \
--to=yukaixiong@huawei.com \
--cc=Dai.Ngo@oracle.com \
--cc=Liam.Howlett@oracle.com \
--cc=akpm@linux-foundation.org \
--cc=anna@kernel.org \
--cc=baolin.wang@linux.alibaba.com \
--cc=bfoster@redhat.com \
--cc=bp@alien8.de \
--cc=brauner@kernel.org \
--cc=chuck.lever@oracle.com \
--cc=dalias@libc.org \
--cc=dave.hansen@linux.intel.com \
--cc=davem@davemloft.net \
--cc=david@redhat.com \
--cc=dchinner@redhat.com \
--cc=dhowells@redhat.com \
--cc=edumazet@google.com \
--cc=glaubitz@physik.fu-berlin.de \
--cc=haifeng.xu@shopee.com \
--cc=hannes@cmpxchg.org \
--cc=hpa@zytor.com \
--cc=j.granados@samsung.com \
--cc=jack@suse.cz \
--cc=jlayton@kernel.org \
--cc=jmorris@namei.org \
--cc=joel.granados@kernel.org \
--cc=kees@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-nfs@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=lorenzo.stoakes@oracle.com \
--cc=luto@kernel.org \
--cc=mcgrof@kernel.org \
--cc=mingo@redhat.com \
--cc=neilb@suse.de \
--cc=netdev@vger.kernel.org \
--cc=okorniev@redhat.com \
--cc=pabeni@redhat.com \
--cc=pasha.tatashin@soleen.com \
--cc=paul@paul-moore.com \
--cc=rientjes@google.com \
--cc=ryan.roberts@arm.com \
--cc=serge@hallyn.com \
--cc=shikemeng@huaweicloud.com \
--cc=souravpanda@google.com \
--cc=tglx@linutronix.de \
--cc=tom@talpey.com \
--cc=trondmy@kernel.org \
--cc=vbabka@suse.cz \
--cc=vegard.nossum@oracle.com \
--cc=viro@zeniv.linux.org.uk \
--cc=wangkefeng.wang@huawei.com \
--cc=willy@infradead.org \
--cc=yang@os.amperecomputing.com \
--cc=ying.huang@intel.com \
--cc=ysato@users.sourceforge.jp \
--cc=zev@bewilderbeest.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox