[lttng-dev] [PATCH 0/3] rculfhash: error checking fixes

Eric Wong normalperson at yhbt.net
Thu Jul 31 17:35:00 EDT 2014


Mathieu Desnoyers <mathieu.desnoyers at efficios.com> wrote:
> All merged, thanks! Sorry for the delay, the past month has been quite busy.

No worries.  I've been sidetracked into other projects, too.

> Eric Wong <normalperson at yhbt.net> wrote:
> > In the future, it would also be nice if the alloc_bucket_table behavior
> > could fail gracefully on ENOMEM, but that would break ABI...
> 
> We could pull this into master for an eventual 0.9 release. We already
> have a few ABI breaking changes that require us to bump the ABI in
> master.

OK.  I'll try to work on that (unless you have more time now, I've
been sidetracked too :x)

While we're on ABI/API changes, there's also several other changes
I would like:

* Remove the pthread_mutex_t requirement in the wfcqueue and lfstack
  structures.

  I suppose we could implement limited new classes and layer the
  complete old ones on top to preserve ABI/API compatibility.

* cmpxchg_double (cmpxchg16b on x86-64) so lfstack can use
  a lock-free stack for single pop operations.  I'm currently using
  ck_stack from ConcurrencyKit, but generally prefer using the
  URCU APIs and it would be great if lfstack could support this
  on some arches.

Do you have any timeline for a 0.9 release?



More information about the lttng-dev mailing list