Re: [PATCH -rcu 0/2] kcsan: Improvements to reporting

From: Marco Elver
Date: Thu Jan 09 2020 - 12:03:53 EST


On Thu, 9 Jan 2020 at 17:27, Paul E. McKenney <paulmck@xxxxxxxxxx> wrote:
>
> On Thu, Jan 09, 2020 at 04:23:20PM +0100, Marco Elver wrote:
> > Improvements to KCSAN data race reporting:
> > 1. Show if access is marked (*_ONCE, atomic, etc.).
> > 2. Rate limit reporting to avoid spamming console.
> >
> > Marco Elver (2):
> > kcsan: Show full access type in report
> > kcsan: Rate-limit reporting per data races
>
> Queued and pushed, thank you! I edited the commit logs a bit, so could
> you please check to make sure that I didn't mess anything up?

Looks good to me, thank you.

> At some point, boot-time-allocated per-CPU arrays might be needed to
> avoid contention on large systems, but one step at a time. ;-)

I certainly hope the rate of fixing/avoiding data races will not be
eclipsed by the rate at which new ones are introduced. :-)

Thanks,
-- Marco

> Thanx, Paul
>
> > kernel/kcsan/core.c | 15 +++--
> > kernel/kcsan/kcsan.h | 2 +-
> > kernel/kcsan/report.c | 153 +++++++++++++++++++++++++++++++++++-------
> > lib/Kconfig.kcsan | 10 +++
> > 4 files changed, 148 insertions(+), 32 deletions(-)
> >
> > --
> > 2.25.0.rc1.283.g88dfdc4193-goog
> >
>
> --
> You received this message because you are subscribed to the Google Groups "kasan-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to kasan-dev+unsubscribe@xxxxxxxxxxxxxxxxx
> To view this discussion on the web visit https://groups.google.com/d/msgid/kasan-dev/20200109162739.GS13449%40paulmck-ThinkPad-P72.