[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHttsrYcHfcDBXXtCjXDSTgFbbOv=B2UKkEMq9GwvXB5WpMSdA@mail.gmail.com>
Date: Sat, 13 Apr 2019 14:38:38 +0800
From: Yuyang Du <duyuyang@...il.com>
To: Frederic Weisbecker <frederic@...nel.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>,
Peter Zijlstra <peterz@...radead.org>
Subject: Re: [PATCH 4/4] locking/lockdep: Test all incompatible scenario at
once in check_irq_usage()
On Wed, 3 Apr 2019 at 00:05, Frederic Weisbecker <frederic@...nel.org> wrote:
>
> check_prev_add_irq() tests all incompatible scenarios one after the
> other while adding a lock (@next) to a tree dependency (@prev):
>
> LOCK_USED_IN_HARDIRQ vs LOCK_ENABLED_HARDIRQ
> LOCK_USED_IN_HARDIRQ_READ vs LOCK_ENABLED_HARDIRQ
> LOCK_USED_IN_SOFTIRQ vs LOCK_ENABLED_SOFTIRQ
> LOCK_USED_IN_SOFTIRQ_READ vs LOCK_ENABLED_SOFTIRQ
May I ask why
LOCK_USED_IN_*IRQ vs. LOCK_ENABLED_*IRQ_READ
is not tested?
Thanks,
Yuyang
Powered by blists - more mailing lists