Skip to contentSkip to conversation

docs: update dev-tools/kcsan.rst url about KTSAN

PATCH Applied Haoyang Liu 5 participants 9 messages Jul 25, 2024 – Sep 4, 2024

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

PATCH 1/1 docs: update dev-tools/kcsan.rst url about KTSAN

The KTSAN doc has moved to
https://github.com/google/kernel-sanitizers/blob/master/KTSAN.md.
Update the url in kcsan.rst accordingly.

---
 Documentation/dev-tools/kcsan.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/dev-tools/kcsan.rst +2 -1
index 02143f060b22..d81c42d1063e 100644
@@ -361,7 +361,8 @@ Alternatives Considered
 -----------------------
 
 An alternative data race detection approach for the kernel can be found in the
-`Kernel Thread Sanitizer (KTSAN) <https://github.com/google/ktsan/wiki>`_.
+`Kernel Thread Sanitizer (KTSAN)
+<https://github.com/google/kernel-sanitizers/blob/master/KTSAN.md>`_.
 KTSAN is a happens-before data race detector, which explicitly establishes the
 happens-before order between memory operations, which can then be used to
 determine data races as defined in `Data Races`_.
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Haoyang Liu

The KTSAN doc has moved to
https://github.com/google/kernel-sanitizers/blob/master/KTSAN.md.
Update the url in kcsan.rst accordingly.

Although the old link is still accessible, I agree to use the newer one.

If this patch is merged, you need to change your Chinese version to catch up.

Quoted 18 lines
---
  Documentation/dev-tools/kcsan.rst | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/dev-tools/kcsan.rst +2 -1
index 02143f060b22..d81c42d1063e 100644
@@ -361,7 +361,8 @@ Alternatives Considered
  -----------------------
 
  An alternative data race detection approach for the kernel can be found in the
-`Kernel Thread Sanitizer (KTSAN) <https://github.com/google/ktsan/wiki>`_.
+`Kernel Thread Sanitizer (KTSAN)
+<https://github.com/google/kernel-sanitizers/blob/master/KTSAN.md>`_.
  KTSAN is a happens-before data race detector, which explicitly establishes the
  happens-before order between memory operations, which can then be used to
  determine data races as defined in `Data Races`_.
maintainer Acked-by
#2 lore raw
Quoted 27 lines · Dongliang Mu
Quoted 5 lines · Haoyang Liu

The KTSAN doc has moved to
https://github.com/google/kernel-sanitizers/blob/master/KTSAN.md.
Update the url in kcsan.rst accordingly.

Although the old link is still accessible, I agree to use the newer one.

If this patch is merged, you need to change your Chinese version to catch up.

Quoted 11 lines
---
  Documentation/dev-tools/kcsan.rst | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/dev-tools/kcsan.rst +0 -0
index 02143f060b22..d81c42d1063e 100644
@@ -361,7 +361,8 @@ Alternatives Considered
  -----------------------
 
Quoted 7 lines

Documentation/dev-tools/kcsan.rst Alternatives Considered · line 368

Quoted 7 lines
Documentation/dev-tools/kcsan.rst +2 -1
  An alternative data race detection approach for the kernel can be found in the
-`Kernel Thread Sanitizer (KTSAN) <https://github.com/google/ktsan/wiki>`_.
+`Kernel Thread Sanitizer (KTSAN)
+<https://github.com/google/kernel-sanitizers/blob/master/KTSAN.md>`_.
  KTSAN is a happens-before data race detector, which explicitly establishes the
  happens-before order between memory operations, which can then be used to
  determine data races as defined in `Data Races`_.

Do you have a tree to take your other patch ("docs/zh_CN: Add dev-tools/kcsan Chinese translation") through? If so, I would suggest that you ask that maintainer to take both patches, this and the Chinese translation patch. (Otherwise, I will queue this patch to be remembered but it'll be a while until it reaches mainline.)

#3 lore raw
Quoted 35 lines · Marco Elver
Quoted 25 lines · Dongliang Mu
Quoted 5 lines · Haoyang Liu

The KTSAN doc has moved to
https://github.com/google/kernel-sanitizers/blob/master/KTSAN.md.
Update the url in kcsan.rst accordingly.

Although the old link is still accessible, I agree to use the newer one.

If this patch is merged, you need to change your Chinese version to catch up.

Quoted 11 lines
---
   Documentation/dev-tools/kcsan.rst | 3 ++-
   1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/dev-tools/kcsan.rst +0 -0
index 02143f060b22..d81c42d1063e 100644
@@ -361,7 +361,8 @@ Alternatives Considered
   -----------------------
 
Quoted 7 lines

Documentation/dev-tools/kcsan.rst Alternatives Considered · line 368

Quoted 7 lines
Documentation/dev-tools/kcsan.rst +2 -1
   An alternative data race detection approach for the kernel can be found in the
-`Kernel Thread Sanitizer (KTSAN) <https://github.com/google/ktsan/wiki>`_.
+`Kernel Thread Sanitizer (KTSAN)
+<https://github.com/google/kernel-sanitizers/blob/master/KTSAN.md>`_.
   KTSAN is a happens-before data race detector, which explicitly establishes the
   happens-before order between memory operations, which can then be used to
   determine data races as defined in `Data Races`_.
Quoted 2 lines

Do you have a tree to take your other patch ("docs/zh_CN: Add dev-tools/kcsan Chinese translation") through? If so, I would suggest

Thanks Marco.

That patch will be merged to lwn tree maintained by Jon if all issues are resolved.

Quoted 3 lines

that you ask that maintainer to take both patches, this and the Chinese translation patch. (Otherwise, I will queue this patch to be remembered but it'll be a while until it reaches mainline.)

#4 lore raw
In reply to Marco Elver
Quoted 35 lines · Marco Elver
Quoted 25 lines · Dongliang Mu
Quoted 5 lines · Haoyang Liu

The KTSAN doc has moved to
https://github.com/google/kernel-sanitizers/blob/master/KTSAN.md.
Update the url in kcsan.rst accordingly.

Although the old link is still accessible, I agree to use the newer one.

If this patch is merged, you need to change your Chinese version to catch up.

Quoted 11 lines
---
   Documentation/dev-tools/kcsan.rst | 3 ++-
   1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/dev-tools/kcsan.rst +0 -0
index 02143f060b22..d81c42d1063e 100644
@@ -361,7 +361,8 @@ Alternatives Considered
   -----------------------
 
Quoted 7 lines

Documentation/dev-tools/kcsan.rst Alternatives Considered · line 368

Quoted 7 lines
Documentation/dev-tools/kcsan.rst +2 -1
   An alternative data race detection approach for the kernel can be found in the
-`Kernel Thread Sanitizer (KTSAN) <https://github.com/google/ktsan/wiki>`_.
+`Kernel Thread Sanitizer (KTSAN)
+<https://github.com/google/kernel-sanitizers/blob/master/KTSAN.md>`_.
   KTSAN is a happens-before data race detector, which explicitly establishes the
   happens-before order between memory operations, which can then be used to
   determine data races as defined in `Data Races`_.
Quoted 5 lines

Do you have a tree to take your other patch ("docs/zh_CN: Add dev-tools/kcsan Chinese translation") through? If so, I would suggest that you ask that maintainer to take both patches, this and the Chinese translation patch. (Otherwise, I will queue this patch to be remembered but it'll be a while until it reaches mainline.)

Hi, Marco.

The patch "docs/zh_CN: Add dev-tools/kcsan Chinese translation" has been applied, but they didn't take this one. How about you take it into your tree?

Thanks,

Haoyang

maintainer
#5 lore raw
Quoted 44 lines · Haoyang Liu
Quoted 35 lines · Marco Elver
Quoted 25 lines · Dongliang Mu
Quoted 5 lines · Haoyang Liu

The KTSAN doc has moved to
https://github.com/google/kernel-sanitizers/blob/master/KTSAN.md.
Update the url in kcsan.rst accordingly.

Although the old link is still accessible, I agree to use the newer one.

If this patch is merged, you need to change your Chinese version to catch up.

Quoted 11 lines
---
   Documentation/dev-tools/kcsan.rst | 3 ++-
   1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/dev-tools/kcsan.rst +0 -0
index 02143f060b22..d81c42d1063e 100644
@@ -361,7 +361,8 @@ Alternatives Considered
   -----------------------
 
Quoted 7 lines

Documentation/dev-tools/kcsan.rst Alternatives Considered · line 368

Quoted 7 lines
Documentation/dev-tools/kcsan.rst +2 -1
   An alternative data race detection approach for the kernel can be found in the
-`Kernel Thread Sanitizer (KTSAN) <https://github.com/google/ktsan/wiki>`_.
+`Kernel Thread Sanitizer (KTSAN)
+<https://github.com/google/kernel-sanitizers/blob/master/KTSAN.md>`_.
   KTSAN is a happens-before data race detector, which explicitly establishes the
   happens-before order between memory operations, which can then be used to
   determine data races as defined in `Data Races`_.
Quoted 5 lines

Do you have a tree to take your other patch ("docs/zh_CN: Add dev-tools/kcsan Chinese translation") through? If so, I would suggest that you ask that maintainer to take both patches, this and the Chinese translation patch. (Otherwise, I will queue this patch to be remembered but it'll be a while until it reaches mainline.)

Quoted 6 lines

Hi, Marco.

The patch "docs/zh_CN: Add dev-tools/kcsan Chinese translation" has been applied, but they didn't take this one. How about you take it into your tree?

I don't have a tree.

Since this is purely documentation changes, could Jon take it into the Documentation tree?
Otherwise we have to ask Paul to take it into -rcu.

Thanks,
-- Marco

#6 lore raw
Quoted 48 lines · Marco Elver
Quoted 41 lines · Haoyang Liu
Quoted 34 lines · Marco Elver
Quoted 24 lines · Dongliang Mu
Quoted 5 lines · Haoyang Liu

The KTSAN doc has moved to
https://github.com/google/kernel-sanitizers/blob/master/KTSAN.md.
Update the url in kcsan.rst accordingly.

Although the old link is still accessible, I agree to use the newer one.

If this patch is merged, you need to change your Chinese version to catch up.

Quoted 11 lines
---
    Documentation/dev-tools/kcsan.rst | 3 ++-
    1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/dev-tools/kcsan.rst +0 -0
index 02143f060b22..d81c42d1063e 100644
@@ -361,7 +361,8 @@ Alternatives Considered
    -----------------------
 
Quoted 7 lines

Documentation/dev-tools/kcsan.rst Alternatives Considered · line 368

Quoted 7 lines
Documentation/dev-tools/kcsan.rst +2 -1
    An alternative data race detection approach for the kernel can be found in the
-`Kernel Thread Sanitizer (KTSAN) <https://github.com/google/ktsan/wiki>`_.
+`Kernel Thread Sanitizer (KTSAN)
+<https://github.com/google/kernel-sanitizers/blob/master/KTSAN.md>`_.
    KTSAN is a happens-before data race detector, which explicitly establishes the
    happens-before order between memory operations, which can then be used to
    determine data races as defined in `Data Races`_.
Quoted 5 lines

Do you have a tree to take your other patch ("docs/zh_CN: Add dev-tools/kcsan Chinese translation") through? If so, I would suggest that you ask that maintainer to take both patches, this and the Chinese translation patch. (Otherwise, I will queue this patch to be remembered but it'll be a while until it reaches mainline.)

Quoted 6 lines

Hi, Marco.

The patch "docs/zh_CN: Add dev-tools/kcsan Chinese translation" has been applied, but they didn't take this one. How about you take it into your tree?

Quoted 8 lines

I don't have a tree.

Since this is purely documentation changes, could Jon take it into the Documentation tree?
Otherwise we have to ask Paul to take it into -rcu.

Thanks,
-- Marco

Ok, I will send this patch to Jon and see if he can take it.

Thanks,

Haoyang

#7 lore raw
Quoted 53 lines · Haoyang Liu
Quoted 50 lines · Marco Elver
Quoted 41 lines · Haoyang Liu
Quoted 34 lines · Marco Elver
Quoted 24 lines · Dongliang Mu
Quoted 5 lines · Haoyang Liu

The KTSAN doc has moved to
https://github.com/google/kernel-sanitizers/blob/master/KTSAN.md.
Update the url in kcsan.rst accordingly.

Although the old link is still accessible, I agree to use the newer one.

If this patch is merged, you need to change your Chinese version to catch up.

Quoted 11 lines
---
    Documentation/dev-tools/kcsan.rst | 3 ++-
    1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/dev-tools/kcsan.rst +0 -0
index 02143f060b22..d81c42d1063e 100644
@@ -361,7 +361,8 @@ Alternatives Considered
    -----------------------
 
Quoted 7 lines

Documentation/dev-tools/kcsan.rst Alternatives Considered · line 368

Quoted 7 lines
Documentation/dev-tools/kcsan.rst +2 -1
    An alternative data race detection approach for the kernel can be found in the
-`Kernel Thread Sanitizer (KTSAN) <https://github.com/google/ktsan/wiki>`_.
+`Kernel Thread Sanitizer (KTSAN)
+<https://github.com/google/kernel-sanitizers/blob/master/KTSAN.md>`_.
    KTSAN is a happens-before data race detector, which explicitly establishes the
    happens-before order between memory operations, which can then be used to
    determine data races as defined in `Data Races`_.
Quoted 5 lines

Do you have a tree to take your other patch ("docs/zh_CN: Add dev-tools/kcsan Chinese translation") through? If so, I would suggest that you ask that maintainer to take both patches, this and the Chinese translation patch. (Otherwise, I will queue this patch to be remembered but it'll be a while until it reaches mainline.)

Quoted 6 lines

Hi, Marco.

The patch "docs/zh_CN: Add dev-tools/kcsan Chinese translation" has been applied, but they didn't take this one. How about you take it into your tree?

I don't have a tree.

Quoted 8 lines
Quoted 6 lines

Since this is purely documentation changes, could Jon take it into the Documentation tree?
Otherwise we have to ask Paul to take it into -rcu.

Thanks,
-- Marco

Ok, I will send this patch to Jon and see if he can take it.

Hi Jon,

Could you please take this patch to lwn tree maintained by you?

P.S., it seems Jon is in the cc list previously.

Quoted 7 lines

Thanks,

Haoyang

maintainer Applied
#8 lore raw
In reply to Haoyang Liu
Quoted 14 lines · Haoyang Liu

The KTSAN doc has moved to
https://github.com/google/kernel-sanitizers/blob/master/KTSAN.md.
Update the url in kcsan.rst accordingly.

---
 Documentation/dev-tools/kcsan.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/dev-tools/kcsan.rst +0 -0
index 02143f060b22..d81c42d1063e 100644

Documentation/dev-tools/kcsan.rst Alternatives Considered · line 366

Quoted 7 lines
Documentation/dev-tools/kcsan.rst +2 -1
@@ -361,7 +361,8 @@ Alternatives Considered
 -----------------------
 
 An alternative data race detection approach for the kernel can be found in the
-`Kernel Thread Sanitizer (KTSAN) <https://github.com/google/ktsan/wiki>`_.
+`Kernel Thread Sanitizer (KTSAN)
+<https://github.com/google/kernel-sanitizers/blob/master/KTSAN.md>`_.
 KTSAN is a happens-before data race detector, which explicitly establishes the

Applied, thanks.

jon