Skip to contentSkip to conversation

documentation: fix broken lkml archive links in RCU requirements

PATCH In review Michael Opdenacker 4 participants 9 messages Sep 9, 2016 – Sep 15, 2016

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

PATCH 1/1 documentation: fix broken lkml archive links in RCU requirements

Fix 4 LKML archive links that became broken (data loss on mail-archive.com?)

Working links were found on Paul McKenney's RCU articles on LWN.net, from which the documentation originates:
http://lwn.net/Articles/652156/
http://lwn.net/Articles/652677/
http://lwn.net/Articles/653326/

---
 Documentation/RCU/Design/Requirements/Requirements.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/RCU/Design/Requirements/Requirements.html +4 -4
index ece410f40436..2adb3d43ce44 100644
@@ -1527,7 +1527,7 @@ However, as I learned from Matt Mackall's
 <a href="http://elinux.org/Linux_Tiny-FAQ">bloatwatch</a>
 efforts, memory footprint is critically important on single-CPU systems with
 non-preemptible (<tt>CONFIG_PREEMPT=n</tt>) kernels, and thus
-<a href="https://lkml.kernel.org/g/[email protected]">tiny RCU</a>
+<a href="http://lkml.org/lkml/2009/1/14/449">tiny RCU</a>
 was born.
 Josh Triplett has since taken over the small-memory banner with his
 <a href="https://tiny.wiki.kernel.org/">Linux kernel tinification</a>
@@ -1975,7 +1975,7 @@ guard against mishaps and misuse:
 	and cleaned up with <tt>destroy_rcu_head()</tt>.
 	Mathieu Desnoyers made me aware of this requirement, and also
 	supplied the needed
-	<a href="https://lkml.kernel.org/g/20100319013024.GA28456@Krystal">patch</a>.
+	<a href="https://lkml.org/lkml/2010/3/18/417">patch</a>.
 <li>	An infinite loop in an RCU read-side critical section will
 	eventually trigger an RCU CPU stall warning splat, with
 	the duration of &ldquo;eventually&rdquo; being controlled by the
@@ -2088,7 +2088,7 @@ be hidden behind a <tt>CONFIG_RCU_EXPERT</tt> <tt>Kconfig</tt> option.
 <p>
 This all should be quite obvious, but the fact remains that
 Linus Torvalds recently had to
-<a href="https://lkml.kernel.org/g/CA+55aFy4wcCwaL4okTs8wXhGZ5h-ibecy_Meg9C4MNQrUnwMcg@mail.gmail.com">remind</a>
+<a href="https://lkml.org/lkml/2015/4/14/616">remind</a>
 me of this requirement.
 
 <h3><a name="Firmware Interface">Firmware Interface</a></h3>
@@ -2229,7 +2229,7 @@ Thankfully, RCU update-side primitives, including
 The name notwithstanding, some Linux-kernel architectures
 can have nested NMIs, which RCU must handle correctly.
 Andy Lutomirski
-<a href="https://lkml.kernel.org/g/CALCETrXLq1y7e_dKFPgou-FKHB6Pu-r8+t-6Ds+8=va7anBWDA@mail.gmail.com">surprised me</a>
+<a href="https://lkml.org/lkml/2014/11/21/642">surprised me</a>
 with this requirement;
 he also kindly surprised me with
 <a href="https://lkml.kernel.org/g/CALCETrXSY9JpW3uE6H8WYk81sg56qasA2aqmjMPsq5dOtzso=g@mail.gmail.com">an algorithm</a>
Signature · 1 line
2.7.4
#1 lore raw

Michael,

Quoted 28 lines · Michael Opdenacker

Fix 4 LKML archive links that became broken (data loss on mail-archive.com?)

Working links were found on Paul McKenney's RCU articles on LWN.net, from which the documentation originates:
http://lwn.net/Articles/652156/
http://lwn.net/Articles/652677/
http://lwn.net/Articles/653326/

---
 Documentation/RCU/Design/Requirements/Requirements.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/RCU/Design/Requirements/Requirements.html +1 -1
index ece410f40436..2adb3d43ce44 100644
@@ -1527,7 +1527,7 @@ However, as I learned from Matt Mackall's
 <a href="http://elinux.org/Linux_Tiny-FAQ">bloatwatch</a>
 efforts, memory footprint is critically important on single-CPU systems with
 non-preemptible (<tt>CONFIG_PREEMPT=n</tt>) kernels, and thus
-<a href="https://lkml.kernel.org/g/[email protected]">tiny RCU</a>
+<a href="http://lkml.org/lkml/2009/1/14/449">tiny RCU</a>
 was born.
 Josh Triplett has since taken over the small-memory banner with his
 <a href="https://tiny.wiki.kernel.org/">Linux kernel tinification</a>

Documentation/RCU/Design/Requirements/Requirements.html guard against mishaps and misuse: · line 1978

Quoted 5 lines
Documentation/RCU/Design/Requirements/Requirements.html +1 -1
@@ -1975,7 +1975,7 @@ guard against mishaps and misuse:
        and cleaned up with <tt>destroy_rcu_head()</tt>.
        Mathieu Desnoyers made me aware of this requirement, and also
        supplied the needed
-       <a href="https://lkml.kernel.org/g/20100319013024.GA28456@Krystal">patch</a>.
+       <a href="https://lkml.org/lkml/2010/3/18/417">patch</a>.

Please don't add lkml.org. It does not use message ids for indexing. With knowing the message id you can query any other archive. e.g. http://marc.info/?i=20100319013024.GA28456@Krystal
By adding lkml.org you kill that information. Archives come and go, the message id is the only common query id we have.

IMHO kernel.org admins should fix/improve their redirection service to point to a working service.

Signature · 2 lines
Thanks,
//richard
#2 lore raw
Quoted 31 lines · On Fri, 9 Sep 2016 16:17:14 +0200 Richard Weinberger…
Quoted 19 lines
---
 Documentation/RCU/Design/Requirements/Requirements.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/RCU/Design/Requirements/Requirements.html +1 -1
index ece410f40436..2adb3d43ce44 100644
@@ -1527,7 +1527,7 @@ However, as I learned from Matt Mackall's
 <a href="http://elinux.org/Linux_Tiny-FAQ">bloatwatch</a>
 efforts, memory footprint is critically important on single-CPU systems with
 non-preemptible (<tt>CONFIG_PREEMPT=n</tt>) kernels, and thus
-<a href="https://lkml.kernel.org/g/[email protected]">tiny RCU</a>
+<a href="http://lkml.org/lkml/2009/1/14/449">tiny RCU</a>
 was born.
 Josh Triplett has since taken over the small-memory banner with his
 <a href="https://tiny.wiki.kernel.org/">Linux kernel tinification</a>

Documentation/RCU/Design/Requirements/Requirements.html guard against mishaps and misuse: · line 1978

Quoted 5 lines
Documentation/RCU/Design/Requirements/Requirements.html +1 -1
@@ -1975,7 +1975,7 @@ guard against mishaps and misuse:
        and cleaned up with <tt>destroy_rcu_head()</tt>.
        Mathieu Desnoyers made me aware of this requirement, and also
        supplied the needed
-       <a href="https://lkml.kernel.org/g/20100319013024.GA28456@Krystal">patch</a>.
+       <a href="https://lkml.org/lkml/2010/3/18/417">patch</a>.  

Please don't add lkml.org. It does not use message ids for indexing. With knowing the message id you can query any other archive. e.g. http://marc.info/?i=20100319013024.GA28456@Krystal
By adding lkml.org you kill that information. Archives come and go, the message id is the only common query id we have.

Quoted 3 lines

IMHO kernel.org admins should fix/improve their redirection service to point to a working service.

Correct, we avoid any links to lkml.org at all costs. Simple do a

s,/g/,/r/, and all your links should work. For example, using the above mentioned link:

https://lkml.kernel.org/r/20100319013024.GA28456@Krystal

Works as expected.

-- Steve

#3 lore raw

Hi Steve,

Quoted 8 lines · Steven Rostedt

Correct, we avoid any links to lkml.org at all costs. Simple do a

s,/g/,/r/, and all your links should work. For example, using the above mentioned link:

https://lkml.kernel.org/r/20100319013024.GA28456@Krystal

Works as expected.

I confirm that all the links work indeed. I'm sending a patch update right away.

Thanks!

Michael.

Signature · 3 lines
Michael Opdenacker, CEO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#4 lore raw

PATCH 1/1 documentation: fix broken lkml archive links in RCU requirements

Fix 4 LKML archive links that became broken (issue with https://lkml.kernel.org/g/ redirection links)

---
 Documentation/RCU/Design/Requirements/Requirements.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/RCU/Design/Requirements/Requirements.html +4 -4
index ece410f40436..1c39a2362911 100644
@@ -1527,7 +1527,7 @@ However, as I learned from Matt Mackall's
 <a href="http://elinux.org/Linux_Tiny-FAQ">bloatwatch</a>
 efforts, memory footprint is critically important on single-CPU systems with
 non-preemptible (<tt>CONFIG_PREEMPT=n</tt>) kernels, and thus
-<a href="https://lkml.kernel.org/g/[email protected]">tiny RCU</a>
+<a href="https://lkml.kernel.org/r/[email protected]">tiny RCU</a>
 was born.
 Josh Triplett has since taken over the small-memory banner with his
 <a href="https://tiny.wiki.kernel.org/">Linux kernel tinification</a>
@@ -1975,7 +1975,7 @@ guard against mishaps and misuse:
 	and cleaned up with <tt>destroy_rcu_head()</tt>.
 	Mathieu Desnoyers made me aware of this requirement, and also
 	supplied the needed
-	<a href="https://lkml.kernel.org/g/20100319013024.GA28456@Krystal">patch</a>.
+	<a href="https://lkml.kernel.org/r/20100319013024.GA28456@Krystal">patch</a>.
 <li>	An infinite loop in an RCU read-side critical section will
 	eventually trigger an RCU CPU stall warning splat, with
 	the duration of &ldquo;eventually&rdquo; being controlled by the
@@ -2088,7 +2088,7 @@ be hidden behind a <tt>CONFIG_RCU_EXPERT</tt> <tt>Kconfig</tt> option.
 <p>
 This all should be quite obvious, but the fact remains that
 Linus Torvalds recently had to
-<a href="https://lkml.kernel.org/g/CA+55aFy4wcCwaL4okTs8wXhGZ5h-ibecy_Meg9C4MNQrUnwMcg@mail.gmail.com">remind</a>
+<a href="https://lkml.kernel.org/r/CA+55aFy4wcCwaL4okTs8wXhGZ5h-ibecy_Meg9C4MNQrUnwMcg@mail.gmail.com">remind</a>
 me of this requirement.
 
 <h3><a name="Firmware Interface">Firmware Interface</a></h3>
@@ -2229,7 +2229,7 @@ Thankfully, RCU update-side primitives, including
 The name notwithstanding, some Linux-kernel architectures
 can have nested NMIs, which RCU must handle correctly.
 Andy Lutomirski
-<a href="https://lkml.kernel.org/g/CALCETrXLq1y7e_dKFPgou-FKHB6Pu-r8+t-6Ds+8=va7anBWDA@mail.gmail.com">surprised me</a>
+<a href="https://lkml.kernel.org/r/CALCETrXLq1y7e_dKFPgou-FKHB6Pu-r8+t-6Ds+8=va7anBWDA@mail.gmail.com">surprised me</a>
 with this requirement;
 he also kindly surprised me with
 <a href="https://lkml.kernel.org/g/CALCETrXSY9JpW3uE6H8WYk81sg56qasA2aqmjMPsq5dOtzso=g@mail.gmail.com">an algorithm</a>
Signature · 1 line
2.7.4
reviewer Acked-by on v1 1/1
#5 lore raw
Quoted 40 lines · On Thu, 15 Sep 2016 14:17:06 +0200 Michael Opdenacker…

Fix 4 LKML archive links that became broken (issue with https://lkml.kernel.org/g/ redirection links)

---
 Documentation/RCU/Design/Requirements/Requirements.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/RCU/Design/Requirements/Requirements.html +3 -3
index ece410f40436..1c39a2362911 100644
@@ -1527,7 +1527,7 @@ However, as I learned from Matt Mackall's
 <a href="http://elinux.org/Linux_Tiny-FAQ">bloatwatch</a>
 efforts, memory footprint is critically important on single-CPU systems with
 non-preemptible (<tt>CONFIG_PREEMPT=n</tt>) kernels, and thus
-<a href="https://lkml.kernel.org/g/[email protected]">tiny RCU</a>
+<a href="https://lkml.kernel.org/r/[email protected]">tiny RCU</a>
 was born.
 Josh Triplett has since taken over the small-memory banner with his
 <a href="https://tiny.wiki.kernel.org/">Linux kernel tinification</a>
@@ -1975,7 +1975,7 @@ guard against mishaps and misuse:
 	and cleaned up with <tt>destroy_rcu_head()</tt>.
 	Mathieu Desnoyers made me aware of this requirement, and also
 	supplied the needed
-	<a href="https://lkml.kernel.org/g/20100319013024.GA28456@Krystal">patch</a>.
+	<a href="https://lkml.kernel.org/r/20100319013024.GA28456@Krystal">patch</a>.
 <li>	An infinite loop in an RCU read-side critical section will
 	eventually trigger an RCU CPU stall warning splat, with
 	the duration of &ldquo;eventually&rdquo; being controlled by the
@@ -2088,7 +2088,7 @@ be hidden behind a <tt>CONFIG_RCU_EXPERT</tt> <tt>Kconfig</tt> option.
 <p>
 This all should be quite obvious, but the fact remains that
 Linus Torvalds recently had to
-<a href="https://lkml.kernel.org/g/CA+55aFy4wcCwaL4okTs8wXhGZ5h-ibecy_Meg9C4MNQrUnwMcg@mail.gmail.com">remind</a>
+<a href="https://lkml.kernel.org/r/CA+55aFy4wcCwaL4okTs8wXhGZ5h-ibecy_Meg9C4MNQrUnwMcg@mail.gmail.com">remind</a>
 me of this requirement.
 
 <h3><a name="Firmware Interface">Firmware Interface</a></h3>

Documentation/RCU/Design/Requirements/Requirements.html Thankfully, RCU update-side primitives, including · line 2235

Quoted 8 lines
Documentation/RCU/Design/Requirements/Requirements.html +1 -1
@@ -2229,7 +2229,7 @@ Thankfully, RCU update-side primitives, including
 The name notwithstanding, some Linux-kernel architectures
 can have nested NMIs, which RCU must handle correctly.
 Andy Lutomirski
-<a href="https://lkml.kernel.org/g/CALCETrXLq1y7e_dKFPgou-FKHB6Pu-r8+t-6Ds+8=va7anBWDA@mail.gmail.com">surprised me</a>
+<a href="https://lkml.kernel.org/r/CALCETrXLq1y7e_dKFPgou-FKHB6Pu-r8+t-6Ds+8=va7anBWDA@mail.gmail.com">surprised me</a>
 with this requirement;
 he also kindly surprised me with
 <a href="https://lkml.kernel.org/g/CALCETrXSY9JpW3uE6H8WYk81sg56qasA2aqmjMPsq5dOtzso=g@mail.gmail.com">an algorithm</a>

Strange that this one still works. Anyway...

-- Steve

#6 lore raw
Quoted 55 lines · Steven Rostedt
Quoted 40 lines · On Thu, 15 Sep 2016 14:17:06 +0200 Michael Opdenacker…

Fix 4 LKML archive links that became broken (issue with https://lkml.kernel.org/g/ redirection links)

---
 Documentation/RCU/Design/Requirements/Requirements.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/RCU/Design/Requirements/Requirements.html +3 -3
index ece410f40436..1c39a2362911 100644
@@ -1527,7 +1527,7 @@ However, as I learned from Matt Mackall's
 <a href="http://elinux.org/Linux_Tiny-FAQ">bloatwatch</a>
 efforts, memory footprint is critically important on single-CPU systems with
 non-preemptible (<tt>CONFIG_PREEMPT=n</tt>) kernels, and thus
-<a href="https://lkml.kernel.org/g/[email protected]">tiny RCU</a>
+<a href="https://lkml.kernel.org/r/[email protected]">tiny RCU</a>
 was born.
 Josh Triplett has since taken over the small-memory banner with his
 <a href="https://tiny.wiki.kernel.org/">Linux kernel tinification</a>
@@ -1975,7 +1975,7 @@ guard against mishaps and misuse:
 	and cleaned up with <tt>destroy_rcu_head()</tt>.
 	Mathieu Desnoyers made me aware of this requirement, and also
 	supplied the needed
-	<a href="https://lkml.kernel.org/g/20100319013024.GA28456@Krystal">patch</a>.
+	<a href="https://lkml.kernel.org/r/20100319013024.GA28456@Krystal">patch</a>.
 <li>	An infinite loop in an RCU read-side critical section will
 	eventually trigger an RCU CPU stall warning splat, with
 	the duration of &ldquo;eventually&rdquo; being controlled by the
@@ -2088,7 +2088,7 @@ be hidden behind a <tt>CONFIG_RCU_EXPERT</tt> <tt>Kconfig</tt> option.
 <p>
 This all should be quite obvious, but the fact remains that
 Linus Torvalds recently had to
-<a href="https://lkml.kernel.org/g/CA+55aFy4wcCwaL4okTs8wXhGZ5h-ibecy_Meg9C4MNQrUnwMcg@mail.gmail.com">remind</a>
+<a href="https://lkml.kernel.org/r/CA+55aFy4wcCwaL4okTs8wXhGZ5h-ibecy_Meg9C4MNQrUnwMcg@mail.gmail.com">remind</a>
 me of this requirement.
 
 <h3><a name="Firmware Interface">Firmware Interface</a></h3>

Documentation/RCU/Design/Requirements/Requirements.html Thankfully, RCU update-side primitives, including · line 2235

Quoted 8 lines
Documentation/RCU/Design/Requirements/Requirements.html +1 -1
@@ -2229,7 +2229,7 @@ Thankfully, RCU update-side primitives, including
 The name notwithstanding, some Linux-kernel architectures
 can have nested NMIs, which RCU must handle correctly.
 Andy Lutomirski
-<a href="https://lkml.kernel.org/g/CALCETrXLq1y7e_dKFPgou-FKHB6Pu-r8+t-6Ds+8=va7anBWDA@mail.gmail.com">surprised me</a>
+<a href="https://lkml.kernel.org/r/CALCETrXLq1y7e_dKFPgou-FKHB6Pu-r8+t-6Ds+8=va7anBWDA@mail.gmail.com">surprised me</a>
 with this requirement;
 he also kindly surprised me with
 <a href="https://lkml.kernel.org/g/CALCETrXSY9JpW3uE6H8WYk81sg56qasA2aqmjMPsq5dOtzso=g@mail.gmail.com">an algorithm</a>

Strange that this one still works. Anyway...

Quoted 1 line

So we are confident that these links won't be fixed by the next merge window?

Thanx, Paul

#7 lore raw
In reply to Richard Weinberger
Quoted 44 lines · Richard Weinberger

Michael,

Quoted 28 lines · Michael Opdenacker

Fix 4 LKML archive links that became broken (data loss on mail-archive.com?)

Working links were found on Paul McKenney's RCU articles on LWN.net, from which the documentation originates:
http://lwn.net/Articles/652156/
http://lwn.net/Articles/652677/
http://lwn.net/Articles/653326/

---
 Documentation/RCU/Design/Requirements/Requirements.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/RCU/Design/Requirements/Requirements.html +1 -1
index ece410f40436..2adb3d43ce44 100644
@@ -1527,7 +1527,7 @@ However, as I learned from Matt Mackall's
 <a href="http://elinux.org/Linux_Tiny-FAQ">bloatwatch</a>
 efforts, memory footprint is critically important on single-CPU systems with
 non-preemptible (<tt>CONFIG_PREEMPT=n</tt>) kernels, and thus
-<a href="https://lkml.kernel.org/g/[email protected]">tiny RCU</a>
+<a href="http://lkml.org/lkml/2009/1/14/449">tiny RCU</a>
 was born.
 Josh Triplett has since taken over the small-memory banner with his
 <a href="https://tiny.wiki.kernel.org/">Linux kernel tinification</a>

Documentation/RCU/Design/Requirements/Requirements.html guard against mishaps and misuse: · line 1978

Quoted 5 lines
Documentation/RCU/Design/Requirements/Requirements.html +1 -1
@@ -1975,7 +1975,7 @@ guard against mishaps and misuse:
        and cleaned up with <tt>destroy_rcu_head()</tt>.
        Mathieu Desnoyers made me aware of this requirement, and also
        supplied the needed
-       <a href="https://lkml.kernel.org/g/20100319013024.GA28456@Krystal">patch</a>.
+       <a href="https://lkml.org/lkml/2010/3/18/417">patch</a>.

Please don't add lkml.org. It does not use message ids for indexing. With knowing the message id you can query any other archive. e.g. http://marc.info/?i=20100319013024.GA28456@Krystal
By adding lkml.org you kill that information. Archives come and go, the message id is the only common query id we have.

Quoted 2 lines

IMHO kernel.org admins should fix/improve their redirection service to point to a working service.

There has been some instability in the kernel.org redirection. Right now, the /r/ services seems to work, though as noted the /g/ does not. Please report this to the Kernel.org administrators:

https://kernel.org/category/contact-us.html

Thanx, Paul

#8 lore raw

Richard, Paul,

Thank you for your replies!

Quoted 13 lines · Paul E. McKenney

On Fri, Sep 09, 2016 at 04:17:14PM +0200, Richard Weinberger wrote:
Please don't add lkml.org. It does not use message ids for indexing. With knowing the message id you can query any other archive. e.g. http://marc.info/?i=20100319013024.GA28456@Krystal
By adding lkml.org you kill that information. Archives come and go, the message id is the only common query id we have.

IMHO kernel.org admins should fix/improve their redirection service to point to a working service.
There has been some instability in the kernel.org redirection. Right now, the /r/ services seems to work, though as noted the /g/ does not. Please report this to the Kernel.org administrators:

Quoted 3 lines

https://kernel.org/category/contact-us.html

Thanx, Paul

Done. I reported this issue to them and will keep an eye on it. I definitely agree that we shouldn't use the message ids. Otherwise, that's really a lot of detective work to find out which message was referred to. That's very good advise.

Thanks,

Michael.

Signature · 3 lines
Michael Opdenacker, CEO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com