linux-next: boot warning after merge of the akpm-current tree

From: Stephen Rothwell
Date: Wed Feb 16 2022 - 03:32:22 EST


Hi all,

After merging the akpm-current tree, today's linux-next boot tests
(qemu powerpc pseries_le_defconfig) produced these warnings:

sysctl table check failed: vm/øIe^B Not a file
sysctl table check failed: vm/(efault) No proc_handler
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.17.0-rc4 #3
Call Trace:
[c0000000073e39d0] [c0000000007b8370] dump_stack_lvl+0x74/0xa8 (unreliable)
[c0000000073e3a10] [c000000000577ecc] __register_sysctl_table+0x60c/0x9f0
[c0000000073e3b20] [c000000002043ea4] __register_sysctl_init+0x40/0x78
[c0000000073e3b90] [c00000000203583c] oom_init+0x6c/0x84
[c0000000073e3bf0] [c000000000012130] do_one_initcall+0x60/0x2d0
[c0000000073e3cd0] [c0000000020049f0] kernel_init_freeable+0x334/0x3dc
[c0000000073e3db0] [c000000000012730] kernel_init+0x30/0x1a0
[c0000000073e3e10] [c00000000000cd64] ret_from_kernel_thread+0x5c/0x64
failed when register_sysctl vm_oom_kill_table to vm

Caused by commit

5c4a1da27403 ("mm: move oom_kill sysctls to their own file")

I have applied the following fix patch for today.

From b6c6a58898ebf468ae042b3481dccd73db32c2a9 Mon Sep 17 00:00:00 2001
From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Date: Wed, 16 Feb 2022 19:20:20 +1100
Subject: [PATCH] fix up for "mm: move oom_kill sysctls to their own file"

Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
---
mm/oom_kill.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mm/oom_kill.c b/mm/oom_kill.c
index 07ff90c920bc..9787e2cc51b5 100644
--- a/mm/oom_kill.c
+++ b/mm/oom_kill.c
@@ -80,7 +80,8 @@ static struct ctl_table vm_oom_kill_table[] = {
.maxlen = sizeof(sysctl_oom_dump_tasks),
.mode = 0644,
.proc_handler = proc_dointvec,
- }
+ },
+ {}
};
#endif

--
2.34.1

--
Cheers,
Stephen Rothwell

Attachment: pgpOl17AUqibk.pgp
Description: OpenPGP digital signature