public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Userspace RCU API (minor changes)
@ 2010-01-15 17:23 Mathieu Desnoyers
  2010-01-30 18:33 ` [RELEASE] Userspace RCU 0.4.0 Mathieu Desnoyers
  0 siblings, 1 reply; 2+ messages in thread
From: Mathieu Desnoyers @ 2010-01-15 17:23 UTC (permalink / raw)
  To: Jon Bernard, Jan Blunck, linux-kernel, Pedro Alves, ltt-dev,
	Paul E. McKenney, pierre-marc.fournier

Hi,

I'd like to proceed to a minor API change in the next userspace RCU
release: moving from SIGURCU to SIGRCU for the signal name. This is part
of an effort to standardize the library prefix to "rcu_".  I plan to
add support for backward compatibility, so when we see that SIGURCU is
defined, then we use that value.

Also, I am planning to rename the urcu_init() constructor to rcu_init().
It should only affect the libust tracer, which need to call it
explicitly. Normal users don't have to bother with it, as it's a library
constructor.

Also, the urcu/config.h options are renamed to:

CONFIG_RCU_HAVE_FENCE
CONFIG_RCU_HAVE_FUTEX
CONFIG_RCU_SMP
CONFIG_RCU_COMPAT_ARCH
(moving from URCU -> RCU)

So an updated system installation will keep everything in sync.

I also plan to shuffle the library names a bit, but without breaking
anything. Basically, liburcu will become the "default" version, using
sys_membarrier() when available, and using liburcu-mb as a fallback.

The signal-based liburcu will be renamed from liburcu to liburcu-signal.
People previously using the signal-based "liburcu" will automatically be
moved to the "default" liburcu version.

You might want to have a look at the current git tree head to see if
everything is fine before the release. Given that I change the API
slightly, this will definitely be a 0.4.0.

Feedback is welcome,

Thanks,

Mathieu

-- 
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [RELEASE] Userspace RCU 0.4.0
  2010-01-15 17:23 Userspace RCU API (minor changes) Mathieu Desnoyers
@ 2010-01-30 18:33 ` Mathieu Desnoyers
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Desnoyers @ 2010-01-30 18:33 UTC (permalink / raw)
  To: Jon Bernard, Jan Blunck, linux-kernel, Pedro Alves, ltt-dev,
	Paul E. McKenney, pierre-marc.fournier

Hi,

I proceeded to the minor API changes described below in the latest
userspace RCU release (0.4.0), now available.

See http://lttng.org/urcu for download.

Thanks,

Mathieu

* Mathieu Desnoyers (compudj@krystal.dyndns.org) wrote:
> Hi,
> 
> I'd like to proceed to a minor API change in the next userspace RCU
> release: moving from SIGURCU to SIGRCU for the signal name. This is part
> of an effort to standardize the library prefix to "rcu_".  I plan to
> add support for backward compatibility, so when we see that SIGURCU is
> defined, then we use that value.
> 
> Also, I am planning to rename the urcu_init() constructor to rcu_init().
> It should only affect the libust tracer, which need to call it
> explicitly. Normal users don't have to bother with it, as it's a library
> constructor.
> 
> Also, the urcu/config.h options are renamed to:
> 
> CONFIG_RCU_HAVE_FENCE
> CONFIG_RCU_HAVE_FUTEX
> CONFIG_RCU_SMP
> CONFIG_RCU_COMPAT_ARCH
> (moving from URCU -> RCU)
> 
> So an updated system installation will keep everything in sync.
> 
> I also plan to shuffle the library names a bit, but without breaking
> anything. Basically, liburcu will become the "default" version, using
> sys_membarrier() when available, and using liburcu-mb as a fallback.
> 
> The signal-based liburcu will be renamed from liburcu to liburcu-signal.
> People previously using the signal-based "liburcu" will automatically be
> moved to the "default" liburcu version.
> 
> You might want to have a look at the current git tree head to see if
> everything is fine before the release. Given that I change the API
> slightly, this will definitely be a 0.4.0.
> 
> Feedback is welcome,
> 
> Thanks,
> 
> Mathieu
> 
> -- 
> Mathieu Desnoyers
> OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68
> 
> _______________________________________________
> ltt-dev mailing list
> ltt-dev@lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
> 

-- 
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-30 18:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-15 17:23 Userspace RCU API (minor changes) Mathieu Desnoyers
2010-01-30 18:33 ` [RELEASE] Userspace RCU 0.4.0 Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox