1. 08 6月, 2017 1 次提交
  2. 02 11月, 2016 1 次提交
  3. 14 9月, 2016 1 次提交
  4. 19 10月, 2015 1 次提交
  5. 17 2月, 2015 1 次提交
  6. 02 2月, 2015 2 次提交
    • P
      rcu: add call_rcu · 26387f86
      Paolo Bonzini 提交于
      Asynchronous callbacks provided by call_rcu are particularly important
      for QEMU, because the BQL makes it hard to use synchronize_rcu.
      
      In addition, the current RCU implementation is not particularly friendly
      to multiple concurrent synchronize_rcu callers, making call_rcu even
      more important.
      Reviewed-by: NFam Zheng <famz@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      26387f86
    • P
      rcu: add rcu library · 7911747b
      Paolo Bonzini 提交于
      This includes a (mangled) copy of the liburcu code.  The main changes
      are: 1) removing dependencies on many other header files in liburcu; 2)
      removing for simplicity the tentative busy waiting in synchronize_rcu,
      which has limited performance effects; 3) replacing futexes in
      synchronize_rcu with QemuEvents for Win32 portability.  The API is
      the same as liburcu, so it should be possible in the future to require
      liburcu on POSIX systems for example and use our copy only on Windows.
      
      Among the various versions available I chose urcu-mb, which is the
      least invasive implementation even though it does not have the
      fastest rcu_read_{lock,unlock} implementation.  The urcu flavor can
      be changed later, after benchmarking.
      Reviewed-by: NFam Zheng <famz@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      7911747b