[ltt-dev] [PATCH 0/6] urcu: cleanup api.h

Paolo Bonzini pbonzini at redhat.com
Wed Aug 10 04:40:51 EDT 2011

It turns out that most of api.h is dead code.  Atomics are already
unused (patch 1), and Mathieu mentioned that (if new code is added
that uses the features) it should use urcu's cds/caa libraries.  So,
only leave the useful parts, basically the pthread wrappers.

Patch 7 is "optional".  Paul's intent was clear from the comment,
but we should wait for his green light before applying it.

Paolo Bonzini (7):
  api: remove atomics
  api: make api_gcc.h a superset of the other headers
  api: remove arch-specific files
  api: cleanup more
  api: move useful parts to compiler.h
  api: remove list/hlist
  api: adjust license

 configure.ac               |    6 -
 tests/{api_gcc.h => api.h} | 1052 +---------------------------
 tests/api_ppc.h            | 1698 --------------------------------------------
 tests/api_x86.h            | 1401 ------------------------------------
 urcu/compiler.h            |   11 +
 5 files changed, 24 insertions(+), 4144 deletions(-)
 rename tests/{api_gcc.h => api.h} (18%)
 delete mode 100644 tests/api_ppc.h
 delete mode 100644 tests/api_x86.h


More information about the lttng-dev mailing list