[ltt-dev] [PATCH 00/12] provide generic version of uatomic and other per-arch defs

Paolo Bonzini pbonzini at redhat.com
Fri Feb 19 14:22:42 EST 2010


v2->v3: added acked-by headers
        changed defaults to generic
        fixed typos and coding standards
        removed last (test) patch

Paolo Bonzini (12):
  use kernel style makefile output
  use autoconf symbolic linking
  add urcu/arch_generic.h
  define sync_core for x86 PIC
  remove compat_uatomic_cmpxchg #define from non-x86
  add uatomic_generic.h, use it for common definitions
  use uatomic_generic.h for common fallback implementations
  move whether atomic byte/short exists to uatomic_arch_*.h
  add Alpha support
  support compiling on unknown architectures
  avoid multiple evaluation of STORE_SHARED argument
  centralize definition of BITS_PER_LONG

 Makefile.am                 |   15 +--
 configure.ac                |   24 +++-
 tests/Makefile.am           |   12 --
 tests/test_uatomic.c        |   13 +--
 urcu/arch_alpha.h           |   48 ++++++
 urcu/arch_generic.h         |  132 ++++++++++++++++
 urcu/arch_ppc.h             |   54 +------
 urcu/arch_s390.h            |   50 +------
 urcu/arch_sparc64.h         |   55 +-------
 urcu/arch_x86.h             |   68 ++-------
 urcu/compiler.h             |    8 +
 urcu/system.h               |    4 +-
 urcu/uatomic_arch_alpha.h   |   32 ++++
 urcu/uatomic_arch_ppc.h     |   29 +----
 urcu/uatomic_arch_s390.h    |   71 +---------
 urcu/uatomic_arch_sparc64.h |  112 +-------------
 urcu/uatomic_arch_x86.h     |   39 ++----
 urcu/uatomic_generic.h      |  355 +++++++++++++++++++++++++++++++++++++++++++
 18 files changed, 633 insertions(+), 488 deletions(-)
 create mode 100644 urcu/arch_alpha.h
 create mode 100644 urcu/arch_generic.h
 create mode 100644 urcu/uatomic_arch_alpha.h
 create mode 100644 urcu/uatomic_generic.h





More information about the lttng-dev mailing list