lkml.org 
[lkml]   [2019]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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@kernel.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

\
 
 \ /
  Last update: 2019-04-13 08:39    [W:0.106 / U:2.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site