On Sat, Aug 15, 2020 at 4:17 AM Ingo Molnar wrote:
>
>
> * Peter Zijlstra wrote:
>
> > On Sat, Aug 15, 2020 at 10:30:29AM +0200, Ingo Molnar wrote:
> > >
> > > * Uriel Guajardo wrote:
> > >
> > > > From: Uriel Guajardo
> > > >
> > > > KUnit will fail tests upon observing a lockdep failure.
* Peter Zijlstra wrote:
> On Sat, Aug 15, 2020 at 10:30:29AM +0200, Ingo Molnar wrote:
> >
> > * Uriel Guajardo wrote:
> >
> > > From: Uriel Guajardo
> > >
> > > KUnit will fail tests upon observing a lockdep failure. Because lockdep
> > > turns itself off after its first failure, only
* Uriel Guajardo wrote:
> From: Uriel Guajardo
>
> KUnit will fail tests upon observing a lockdep failure. Because lockdep
> turns itself off after its first failure, only fail the first test and
> warn users to not expect any future failures from lockdep.
>
> Similar to
On Sat, Aug 15, 2020 at 10:30:29AM +0200, Ingo Molnar wrote:
>
> * Uriel Guajardo wrote:
>
> > From: Uriel Guajardo
> >
> > KUnit will fail tests upon observing a lockdep failure. Because lockdep
> > turns itself off after its first failure, only fail the first test and
> > warn users to not
On Fri, Aug 14, 2020 at 3:58 PM Peter Zijlstra wrote:
>
> On Fri, Aug 14, 2020 at 08:55:27PM +, Uriel Guajardo wrote:
> > +
> > +void kunit_check_lockdep(struct kunit *test, struct kunit_lockdep
> > *lockdep) {
> > + int saved_preempt_count = lockdep->preempt_count;
> > + bool
On Fri, Aug 14, 2020 at 08:55:27PM +, Uriel Guajardo wrote:
> +
> +void kunit_check_lockdep(struct kunit *test, struct kunit_lockdep *lockdep) {
> + int saved_preempt_count = lockdep->preempt_count;
> + bool saved_debug_locks = lockdep->debug_locks;
> +
> + if
From: Uriel Guajardo
KUnit will fail tests upon observing a lockdep failure. Because lockdep
turns itself off after its first failure, only fail the first test and
warn users to not expect any future failures from lockdep.
Similar to lib/locking-selftest [1], we check if the status of
7 matches
Mail list logo