]> git.proxmox.com Git - mirror_qemu.git/commit - memory.c
memory: protect current_map by RCU
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 17 May 2013 10:37:03 +0000 (12:37 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Feb 2015 15:55:10 +0000 (16:55 +0100)
commit374f2981d1f10bc4307f250f24b2a7ddb9b14be0
treeb8a960af49a9c5c84ee4ce2efa1b64363cf1d529
parentb476c99d01519277e3494a10dc0329d07157ae02
memory: protect current_map by RCU

Replace the flat_view_mutex with RCU, avoiding futex contention for
dataplane on large systems and many iothreads.

Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/exec/memory.h
memory.c