[Linux-kernel-mentees] [PATCH] bpf: devmap: Pass lockdep expression to RCU lists

Toke Høiland-Jørgensen toke at redhat.com
Thu Jan 23 13:38:10 UTC 2020


Amol Grover <frextrite at gmail.com> writes:

> head is traversed using hlist_for_each_entry_rcu outside an
> RCU read-side critical section but under the protection
> of dtab->index_lock.
>
> Hence, add corresponding lockdep expression to silence false-positive
> lockdep warnings, and harden RCU lists.
>
> Signed-off-by: Amol Grover <frextrite at gmail.com>

Could you please add an appropriate Fixes: tag?

Otherwise:
Acked-by: Toke Høiland-Jørgensen <toke at redhat.com>



More information about the Linux-kernel-mentees mailing list