[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH for-8.1 v2 1/4] util/interval-tree: Use qatomic_read for left
From: |
Peter Maydell |
Subject: |
Re: [PATCH for-8.1 v2 1/4] util/interval-tree: Use qatomic_read for left/right while searching |
Date: |
Mon, 24 Jul 2023 12:48:39 +0100 |
On Sat, 22 Jul 2023 at 22:44, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> Fixes a race condition (generally without optimization) in which
> the subtree is re-read after the protecting if condition.
>
> Cc: qemu-stable@nongnu.org
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM