[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANpmjNPeKY7HZe0+zYx6BQ+oJ97Hq5j2V9QcHS_gjOJTtr8ENw@mail.gmail.com>
Date: Tue, 26 Jan 2021 12:02:28 +0100
From: Marco Elver <elver@...gle.com>
To: David Gow <davidgow@...gle.com>
Cc: "Paul E. McKenney" <paulmck@...nel.org>,
Dmitry Vyukov <dvyukov@...gle.com>,
Boqun Feng <boqun.feng@...il.com>,
kasan-dev <kasan-dev@...glegroups.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] kcsan: Make test follow KUnit style recommendations
On Tue, 26 Jan 2021 at 05:35, David Gow <davidgow@...gle.com> wrote:
>
> On Thu, Jan 14, 2021 at 12:06 AM Marco Elver <elver@...gle.com> wrote:
> >
> > Per recently added KUnit style recommendations at
> > Documentation/dev-tools/kunit/style.rst, make the following changes to
> > the KCSAN test:
> >
> > 1. Rename 'kcsan-test.c' to 'kcsan_test.c'.
> >
> > 2. Rename suite name 'kcsan-test' to 'kcsan'.
> >
> > 3. Rename CONFIG_KCSAN_TEST to CONFIG_KCSAN_KUNIT_TEST and
> > default to KUNIT_ALL_TESTS.
> >
> > Cc: David Gow <davidgow@...gle.com>
> > Signed-off-by: Marco Elver <elver@...gle.com>
>
> Thanks very much -- it's great to see the naming guidelines starting
> to be picked up. I also tested the KUNIT_ALL_TESTS config option w/
> KCSAN enabled, and it worked a treat.
>
> My only note is that we've had some problems[1] with mm-related
> changes which rename files getting corrupted at some point before
> reaching Linus, so it's probably worth keeping a close eye on this
> change to make sure nothing goes wrong.
KCSAN changes go through Paul's -rcu tree, and once there's a stable
commit (latest when it reaches -tip) I would expect Git won't mess
things up.
> Reviewed-by: David Gow <davidgow@...gle.com>
Thanks for taking a look!
-- Marco
> -- David
>
> [1]: https://www.spinics.net/lists/linux-mm/msg239149.html
Powered by blists - more mailing lists