Home
last modified time | relevance | path

Searched hist:"055 b86e0" (Results 1 – 1 of 1) sorted by relevance

/qemu/util/
H A Dinterval-tree.cdiff 055b86e0 Sat Jul 22 19:43:45 GMT 2023 Richard Henderson <richard.henderson@linaro.org> util/interval-tree: Use qatomic_read for left/right while searching

Fixes a race condition (generally without optimization) in which
the subtree is re-read after the protecting if condition.

Cc: qemu-stable@nongnu.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>