Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: pbonzini@redhat.com (Paolo Bonzini)
Subject: [ltt-dev] [PATCH 0/3] Fixes for threads that are readers and writers, and lock-free queue example
Date: Sat, 27 Feb 2010 16:57:03 +0100	[thread overview]
Message-ID: <1267286226-7489-1-git-send-email-pbonzini@redhat.com> (raw)

The first two patches are bugfixes meant for application.  They allow
using threads that are readers and writers with implementations other
than urcu-qsbr.  In addition, they allow early unregistering of
reader threads without risking deadlock with writers.

The third patch is a sample implementation of lock-free queue following
discussion with Paul last week.

They do not depend on the previous patch series.

Paolo Bonzini (3):
  add rcu_thread_{on,off}line to urcu-bp and urcu
  add rcu_thread_offline before rcu_unregister_thread
  lock-free queue with RCU-based garbage collection

 README                |   10 +-
 tests/Makefile.am     |   36 +++-
 tests/test_qsbr_lfq.c |  587 +++++++++++++++++++++++++++++++++++++++++++++++++
 tests/test_urcu_lfq.c |  585 ++++++++++++++++++++++++++++++++++++++++++++++++
 urcu-bp-static.h      |   17 ++
 urcu-bp.c             |   26 +++
 urcu-bp.h             |    4 +
 urcu-static.h         |   15 ++
 urcu.c                |   28 +++
 urcu.h                |    4 +
 10 files changed, 1307 insertions(+), 5 deletions(-)
 create mode 100644 tests/test_qsbr_lfq.c
 create mode 100644 tests/test_urcu_lfq.c




             reply	other threads:[~2010-02-27 15:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-27 15:57 Paolo Bonzini [this message]
2010-02-27 15:57 ` [ltt-dev] [PATCH 1/3] add rcu_thread_{on, off}line to urcu-bp and urcu Paolo Bonzini
2010-02-27 15:57 ` [ltt-dev] [PATCH 2/3] add rcu_thread_offline before rcu_unregister_thread Paolo Bonzini
2010-02-27 15:57 ` [ltt-dev] [PATCH 3/3] lock-free queue with RCU-based garbage collection Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1267286226-7489-1-git-send-email-pbonzini@redhat.com \
    --to=pbonzini@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox