Skip to contentSkip to conversation

linux-next: manual merge of the sysctl tree with the tip tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Feb 24, 2025 – Feb 27, 2025 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

Today's linux-next merge of the sysctl tree got a conflict in:

kernel/sysctl.c

between commit:

8aeacf257070 ("perf/core: Move perf_event sysctls into kernel/events")

from the tip tree and commit:

dccf3c99febf ("sysctl: remove unneeded include")

from the sysctl tree.

I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

Signature · 16 lines
Cheers,
Stephen Rothwell

diff --cc kernel/sysctl.c
index 635f5e829fe8,eeb4cba12190..000000000000
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@@ -54,7 -47,7 +47,6 @@@
  #include <linux/acpi.h>
  #include <linux/reboot.h>
  #include <linux/ftrace.h>
- #include <linux/oom.h>
 -#include <linux/perf_event.h>
  #include <linux/kmod.h>
  #include <linux/capability.h>
  #include <linux/binfmts.h>
#1 lore raw
Quoted 5 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the sysctl tree got a conflict in:

kernel/sysctl.c

Yep, 8aeacf257070 got picked up by the tip robot. I was expecting a bit more review before this went in, so I did not bother rebasing it on top of next.

Quoted 5 lines

between commit:

8aeacf257070 ("perf/core: Move perf_event sysctls into kernel/events")

Quoted 7 lines

from the tip tree and commit:

dccf3c99febf ("sysctl: remove unneeded include")

from the sysctl tree.

I fixed it up (see below) and can carry the fix as necessary. This

Thx for this.

Quoted 15 lines

is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

Signature · 2 lines
Cheers,
Stephen Rothwell
kernel/sysctl.c +0 -0
diff --cc kernel/sysctl.c
index 635f5e829fe8,eeb4cba12190..000000000000

kernel/sysctl.c

Quoted 8 lines
kernel/sysctl.c +0 -1
@@@ -54,7 -47,7 +47,6 @@@
  #include <linux/acpi.h>
  #include <linux/reboot.h>
  #include <linux/ftrace.h>
- #include <linux/oom.h>
 -#include <linux/perf_event.h>
  #include <linux/kmod.h>
  #include <linux/capability.h>
  #include <linux/binfmts.h>

I see that linux/oom.h was removed from kernel/sysctl.h. This was not part of any of the patches but it is the right thing to do. I'll make a note of it and make sure to remove it if it comes back

Thx again.

Best

Signature · 1 line
Joel Granados