LKML Archive mirror
 help / color / mirror / Atom feed
* linux-next: boot warning after merge of the akpm-current tree
@ 2022-02-16  8:32 Stephen Rothwell
  0 siblings, 0 replies; only message in thread
From: Stephen Rothwell @ 2022-02-16  8:32 UTC (permalink / raw
  To: Andrew Morton
  Cc: sujiaxun, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 1838 bytes --]

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@canb.auug.org.au>
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@canb.auug.org.au>
---
 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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-16  8:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-16  8:32 linux-next: boot warning after merge of the akpm-current tree Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).