On Thu, May 11, 2017 at 04:42:00PM +0200, Paolo Bonzini wrote: > This module provides fast paths for 64-bit atomic operations on machines > that only have 32-bit atomic access. > > Signed-off-by: Paolo Bonzini > --- > v1->v2: use CONFIG_ATOMIC64 [Paolo] > fix compilation on 32-bit machines [patchew] > simplify "fast" version of stat64_min/stat64_max [Paolo] > fix typo [Roman] > use cpu_relax [Fam] > > include/qemu/stats64.h | 193 +++++++++++++++++++++++++++++++++++++++++++++++++ > util/Makefile.objs | 1 + > util/stats64.c | 136 ++++++++++++++++++++++++++++++++++ > 3 files changed, 330 insertions(+) > create mode 100644 include/qemu/stats64.h > create mode 100644 util/stats64.c Reviewed-by: Stefan Hajnoczi