linux_dsm_epyc7002/include
Amol Grover 4dfd5cd83d rculist: Add brackets around cond argument in __list_check_rcu macro
Passing a complex lockdep condition to __list_check_rcu results
in false positive lockdep splat due to incorrect expression
evaluation.

For example, a lockdep check condition `cond1 || cond2` is
evaluated as `!cond1 || cond2 && !rcu_read_lock_any_held()`
which, according to operator precedence, evaluates to
`!cond1 || (cond2 && !rcu_read_lock_any_held())`.
This would result in a lockdep splat when cond1 is false
and cond2 is true which is logically incorrect.

Signed-off-by: Amol Grover <frextrite@gmail.com>
Acked-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
2020-02-20 15:58:23 -08:00
..
acpi
asm-generic
clocksource
crypto
drm
dt-bindings ARM: SoC: late updates 2020-02-08 14:17:27 -08:00
keys
kunit
kvm
linux rculist: Add brackets around cond argument in __list_check_rcu macro 2020-02-20 15:58:23 -08:00
math-emu
media
misc
net
pcmcia
ras
rdma
scsi
soc ARM: SoC-related driver updates 2020-02-08 14:04:19 -08:00
sound
target
trace ARM: SoC-related driver updates 2020-02-08 14:04:19 -08:00
uapi fs: New zonefs file system 2020-02-09 15:51:46 -08:00
vdso
video
xen