v2:
- Change patch 2 subject and wording to avoid mentioning "double free" [PeterM]
This is an idea suggested by Peter Maydell:
https://lore.kernel.org/all/CAFEAcA--K0=EJNNvj98i=ewGY=tN3u4S0+fNb9kJpYynzjHEhw@mail.gmail.com/
After this small series applied, we should be able to assert on misuse of
accidental (wrong) re-use on a rcu head.
Please review, thanks.
Peter Xu (3):
qht: Zero-initialize qht_map
tests/test-rcu-*: Zero-initialize allocated elements
rcu: Catch rcu_head misuse
tests/unit/test-rcu-list.c | 4 ++--
util/qht.c | 2 +-
util/rcu.c | 5 +++++
3 files changed, 8 insertions(+), 3 deletions(-)
--
2.50.1