Skip to content

kcsan: Improvements to reporting

Marco Elver lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 8 repliesApplied

Changes in v2 from the cover letter

* Paul E. McKenney: commit message reword.
* Use jiffies instead of ktime -- we want to avoid calling into any further complex libraries, since KCSAN may also detect data races in them, and as a result potentially leading to observing corrupt state (e.g. here, observing corrupt ktime_t value).

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2kcsan: Show full access type in reportkernel/kcsan/core.c kernel/kcsan/kcsan.h kernel/kcsan/report.c+37 -230 replies
2/2kcsan: Rate-limit reporting per data raceskernel/kcsan/report.c lib/Kconfig.kcsan+110 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH -rcu v2 0/2] kcsan: Improvements to reporting

Improvements to KCSAN data race reporting:
1. Show if access is marked (*_ONCE, atomic, etc.).
2. Rate limit reporting to avoid spamming console.

v2:
* Paul E. McKenney: commit message reword.
* Use jiffies instead of ktime -- we want to avoid calling into any further complex libraries, since KCSAN may also detect data races in them, and as a result potentially leading to observing corrupt state (e.g. here, observing corrupt ktime_t value).

Marco Elver (2):
kcsan: Show full access type in report
kcsan: Rate-limit reporting per data races

 kernel/kcsan/core.c   |  15 +++--
 kernel/kcsan/kcsan.h  |   2 +-
 kernel/kcsan/report.c | 151 +++++++++++++++++++++++++++++++++++-------
 lib/Kconfig.kcsan     |  10 +++
 4 files changed, 146 insertions(+), 32 deletions(-)
Signature · 1 line
2.25.0.rc1.283.g88dfdc4193-goog