lkml.org 
[lkml]   [2020]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] kcsan: Optimize debugfs stats counters
On Wed, Aug 12, 2020 at 03:02:14PM +0200, Marco Elver wrote:
> On Mon, 10 Aug 2020 at 10:06, Marco Elver <elver@google.com> wrote:
> > Remove kcsan_counter_inc/dec() functions, as they perform no other
> > logic, and are no longer needed.
> >
> > This avoids several calls in kcsan_setup_watchpoint() and
> > kcsan_found_watchpoint(), as well as lets the compiler warn us about
> > potential out-of-bounds accesses as the array's size is known at all
> > usage sites at compile-time.
> >
> > Signed-off-by: Marco Elver <elver@google.com>
> > ---
> > kernel/kcsan/core.c | 22 +++++++++++-----------
> > kernel/kcsan/debugfs.c | 21 +++++----------------
> > kernel/kcsan/kcsan.h | 12 ++++++------
> > kernel/kcsan/report.c | 2 +-
> > 4 files changed, 23 insertions(+), 34 deletions(-)
>
> Hi Paul,
>
> I think this one is good to apply. I do not expect conflicts with current -rcu.

Applied and pushed, thank you! And as you say, no drama. ;-)

Thanx, Paul

\
 
 \ /
  Last update: 2020-08-13 00:47    [W:0.037 / U:5.852 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site