Skip to contentSkip to conversation

v4.14.15-rt12

ANNOUNCE Sebastian Andrzej Siewior 3 participants 5 messages Jan 25, 2018 – Jan 29, 2018

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

Dear RT folks!

I'm pleased to announce the v4.14.15-rt12 patch set.

Changes since v4.14.15-rt11:

- Drop ping-sysrq. Since it won't reach mainline in its current shape, lets drop. Suggested by Carsten Emde.

- Tom Zanussi's "tracing: Inter-event (e.g. latency) support" patch has been updated to v9.

Known issues
- A warning triggered in "rcu_note_context_switch" originated from SyS_timer_gettime(). The issue was always there, it is now visible. Reported by Grygorii Strashko and Daniel Wagner.

The delta patch against v4.14.15-rt11 is appended below and can be found here:

     https://cdn.kernel.org/pub/linux/kernel/projects/rt/4.14/incr/patch-4.14.15-rt11-rt12.patch.xz

You can get this release via the git tree at:

    git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git v4.14.15-rt12

The RT patch against v4.14.15 can be found here:

    https://cdn.kernel.org/pub/linux/kernel/projects/rt/4.14/older/patch-4.14.15-rt12.patch.xz

The split quilt queue is available at:

    https://cdn.kernel.org/pub/linux/kernel/projects/rt/4.14/older/patches-4.14.15-rt12.tar.xz

Sebastian

Documentation/admin-guide/sysrq.rst +0 -12
index 934563e4dbb8..7b9035c01a2e 100644
@@ -77,18 +77,6 @@ On all
 
 		echo t > /proc/sysrq-trigger
 
-On all
-        Enable network SysRq by writing a cookie to icmp_echo_sysrq, e.g.::
-
-                echo 0x01020304 >/proc/sys/net/ipv4/icmp_echo_sysrq
-
-        Send an ICMP echo request with this pattern plus the particular
-        SysRq command key. Example::
-
-                ping -c1 -s57 -p0102030468
-
-        will trigger the SysRq-H (help) command.
-
 What are the 'command' keys?
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
include/net/netns/ipv4.h +0 -1
index 93164a31ec51..8fcff2837484 100644
@@ -79,7 +79,6 @@ struct netns_ipv4 {
 
 	int sysctl_icmp_echo_ignore_all;
 	int sysctl_icmp_echo_ignore_broadcasts;
-	int sysctl_icmp_echo_sysrq;
 	int sysctl_icmp_ignore_bogus_error_responses;
 	int sysctl_icmp_ratelimit;
 	int sysctl_icmp_ratemask;
kernel/trace/trace_events_hist.c +58 -47

220 lines not on this page · raw message

localversion-rt +1 -1
index 05c35cb58077..6e44e540b927 100644
@@ -1 +1 @@
--rt11
+-rt12
net/ipv4/icmp.c +0 -30
index 574d2a3c86a0..0310ea93f877 100644
@@ -69,7 +69,6 @@
 #include <linux/jiffies.h>
 #include <linux/kernel.h>
 #include <linux/fcntl.h>
-#include <linux/sysrq.h>
 #include <linux/socket.h>
 #include <linux/in.h>
 #include <linux/inet.h>
@@ -924,30 +923,6 @@ static bool icmp_redirect(struct sk_buff *skb)
 	return true;
 }
 
-/*
- * 32bit and 64bit have different timestamp length, so we check for
- * the cookie at offset 20 and verify it is repeated at offset 50
- */
-#define CO_POS0		20
-#define CO_POS1		50
-#define CO_SIZE		sizeof(int)
-#define ICMP_SYSRQ_SIZE	57
-
-/*
- * We got a ICMP_SYSRQ_SIZE sized ping request. Check for the cookie
- * pattern and if it matches send the next byte as a trigger to sysrq.
- */
-static void icmp_check_sysrq(struct net *net, struct sk_buff *skb)
-{
-	int cookie = htonl(net->ipv4.sysctl_icmp_echo_sysrq);
-	char *p = skb->data;
-
-	if (!memcmp(&cookie, p + CO_POS0, CO_SIZE) &&
-	    !memcmp(&cookie, p + CO_POS1, CO_SIZE) &&
-	    p[CO_POS0 + CO_SIZE] == p[CO_POS1 + CO_SIZE])
-		handle_sysrq(p[CO_POS0 + CO_SIZE]);
-}
-
 /*
  *	Handle ICMP_ECHO ("ping") requests.
  *
@@ -975,11 +950,6 @@ static bool icmp_echo(struct sk_buff *skb)
 		icmp_param.data_len	   = skb->len;
 		icmp_param.head_len	   = sizeof(struct icmphdr);
 		icmp_reply(&icmp_param, skb);
-
-		if (skb->len == ICMP_SYSRQ_SIZE &&
-		    net->ipv4.sysctl_icmp_echo_sysrq) {
-			icmp_check_sysrq(net, skb);
-		}
 	}
 	/* should there be an ICMP stat for ignored echos? */
 	return true;
net/ipv4/sysctl_net_ipv4.c +0 -7
index 747ba53a8100..0989e739d098 100644
@@ -771,13 +771,6 @@ static struct ctl_table ipv4_net_table[] = {
 		.mode		= 0644,
 		.proc_handler	= proc_dointvec
 	},
-	{
-		.procname	= "icmp_echo_sysrq",
-		.data		= &init_net.ipv4.sysctl_icmp_echo_sysrq,
-		.maxlen		= sizeof(int),
-		.mode		= 0644,
-		.proc_handler	= proc_dointvec
-	},
 	{
 		.procname	= "icmp_ignore_bogus_error_responses",
 		.data		= &init_net.ipv4.sysctl_icmp_ignore_bogus_error_responses,
#1 lore raw
Quoted 1 line · Sebastian Andrzej Siewior

I'm pleased to announce the v4.14.15-rt12 patch set.

Hi,

I already installed two page-table isolation kernels, that aren't rt patched kernels.

At the moment I don't have time to test if booting with or without nokaiser/nopti does make a difference.

[root@archlinux moonstudio]# grep \ no..i /boot/syslinux/syslinux.cfg
APPEND root=LABEL=archlinux ro threadirqs nopti
APPEND root=LABEL=moonstudio ro nokaiser
[root@archlinux moonstudio]# pacman -Q linux
linux 4.14.15-1
[root@archlinux moonstudio]# systemd-nspawn apt changelog linux-image-4.4.0.112-lowlatency 2>/dev/null | grep "nokaiser"
- kaiser: add "nokaiser" boot option, using ALTERNATIVE

Does performance differ when booting 4.14.15-rt11 with or without nopti?

Regards,
Ralf

#2 lore raw
Quoted 5 lines · Ralf Mardorf
Quoted 1 line · Sebastian Andrzej Siewior

I'm pleased to announce the v4.14.15-rt12 patch set.

Does performance differ when booting 4.14.15-rt11 with or without
nopti? ^^^^

                                              ^^^^
                                              Oops, this should read
                                              rt12 ;).
#3 lore raw
In reply to Sebastian Andrzej Siewior

Hi

Quoted 8 lines · Sebastian Andrzej Siewior

Dear RT folks!

I'm pleased to announce the v4.14.15-rt12 patch set.

Changes since v4.14.15-rt11:

- Drop ping-sysrq. Since it won't reach mainline in its current shape, lets drop. Suggested by Carsten Emde.

[...]

Quoted 3 lines

The split quilt queue is available at:

    https://cdn.kernel.org/pub/linux/kernel/projects/rt/4.14/older/patches-4.14.15-rt12.tar.xz

Just a small heads-up: Whilst ping-sysrq.patch was dropped the included series file still contains:

# NETWORK DEBUGGING AID
ping-sysrq.patch

Regards,
Salvatore

#4 lore raw
Quoted 1 line · Salvatore Bonaccorso

Hi

Hi,

Quoted 5 lines

Just a small heads-up: Whilst ping-sysrq.patch was dropped the included series file still contains:

# NETWORK DEBUGGING AID
ping-sysrq.patch

so 'quilt push -a' aborts once it gets to it while 'git quiltimport' continues:

| net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch
| ping-sysrq.patch doesn't exist. Skipping.
| irqwork-push_most_work_into_softirq_context.patch

not sure if this is a bug or not.
Thanks for the report, will try to fix this soon.

Quoted 2 lines

Regards,
Salvatore

Sebastian