[PATCH 0/3] rcu: Detect accidental reuse of rcu head

Peter Xu posted 3 patches 1 month, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250929190801.931989-1-peterx@redhat.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>
There is a newer version of this series
tests/unit/test-rcu-list.c | 4 ++--
util/qht.c                 | 2 +-
util/rcu.c                 | 2 ++
3 files changed, 5 insertions(+), 3 deletions(-)
[PATCH 0/3] rcu: Detect accidental reuse of rcu head
Posted by Peter Xu 1 month, 2 weeks ago
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: Avoid double rcu frees

 tests/unit/test-rcu-list.c | 4 ++--
 util/qht.c                 | 2 +-
 util/rcu.c                 | 2 ++
 3 files changed, 5 insertions(+), 3 deletions(-)

-- 
2.50.1