Re: [Qemu-devel] [PATCH 06/16] translate-all: make l1_map lockless

2018-03-29 Thread Alex Bennée
Emilio G. Cota writes: > Groundwork for supporting parallel TCG generation. > > We never remove entries from the radix tree, so we can use cmpxchg > to implement lockless insertions. > > Signed-off-by: Emilio G. Cota Reviewed-by: Alex Bennée > --- > accel/tcg/translate-all.c | 24

Re: [Qemu-devel] [PATCH 06/16] translate-all: make l1_map lockless

2018-02-28 Thread Richard Henderson
On 02/26/2018 09:39 PM, Emilio G. Cota wrote: > Groundwork for supporting parallel TCG generation. > > We never remove entries from the radix tree, so we can use cmpxchg > to implement lockless insertions. > > Signed-off-by: Emilio G. Cota > --- > accel/tcg/translate-all.c | 24 ++

[Qemu-devel] [PATCH 06/16] translate-all: make l1_map lockless

2018-02-26 Thread Emilio G. Cota
Groundwork for supporting parallel TCG generation. We never remove entries from the radix tree, so we can use cmpxchg to implement lockless insertions. Signed-off-by: Emilio G. Cota --- accel/tcg/translate-all.c | 24 ++-- docs/devel/multi-thread-tcg.txt | 4 ++-- 2 f