commit | 4fdd0a1a7ea174c5ee573e49c11f7d3bce00984d | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@redhat.com> | Thu Oct 13 14:59:03 2022 -0400 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Wed Oct 26 14:56:42 2022 -0400 |
tree | 69b2f802662d6c96aa056f0bc4179ee7773b7142 | |
parent | f4ec04bae9577eaa55ac35f3971dc3086a4a9192 [diff] |
numa: use QLIST_FOREACH_SAFE() for RAM block notifiers Make list traversal work when a callback removes a notifier mid-traversal. This is a cleanup to prevent bugs in the future. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: David Hildenbrand <david@redhat.com> Message-id: 20221013185908.1297568-9-stefanha@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>