[Qemu-devel] [PULL 06/11] memory: protect current_map by RCU

2015-01-30 Thread Paolo Bonzini
Replace the flat_view_mutex with RCU, avoiding futex contention for dataplane on large systems and many iothreads. Reviewed-by: Fam Zheng Signed-off-by: Paolo Bonzini --- include/exec/memory.h | 5 + memory.c | 54 ++- 2 files ch

[Qemu-devel] [PULL 06/11] memory: protect current_map by RCU

2015-01-30 Thread Paolo Bonzini
Replace the flat_view_mutex with RCU, avoiding futex contention for dataplane on large systems and many iothreads. Reviewed-by: Fam Zheng Signed-off-by: Paolo Bonzini --- include/exec/memory.h | 5 + memory.c | 54 ++- 2 files ch