mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -rcu v2 0/2] kcsan: Improvements to reporting
@ 2020-01-10 18:48 Marco Elver
  2020-01-10 18:48 ` [PATCH -rcu v2 1/2] kcsan: Show full access type in report Marco Elver
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Marco Elver @ 2020-01-10 18:48 UTC (permalink / raw)
  To: elver; +Cc: paulmck, andreyknvl, glider, dvyukov, kasan-dev, linux-kernel

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(-)

-- 
2.25.0.rc1.283.g88dfdc4193-goog


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-01-11  5:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-10 18:48 [PATCH -rcu v2 0/2] kcsan: Improvements to reporting Marco Elver
2020-01-10 18:48 ` [PATCH -rcu v2 1/2] kcsan: Show full access type in report Marco Elver
2020-01-10 18:48 ` [PATCH -rcu v2 2/2] kcsan: Rate-limit reporting per data races Marco Elver
2020-01-11  5:17 ` [PATCH -rcu v2 0/2] kcsan: Improvements to reporting Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®