lp:~lttng/urcu/trunk
- Get this branch:
- bzr branch lp:~lttng/urcu/trunk
Branch merges
Branch information
Import details
This branch is an import of the HEAD branch of the Git repository at git://git.lttng.org/userspace-rcu.git.
Last successful import was .
Recent revisions
- 1501. By Brad Smith
-
Adjust shell script to allow Bash in other locations
commit da56d5cad05a ("Adjust shell scripts to allow Bash in other locations")
adjusted most of the shell scripts, except one.Signed-off-by: Brad Smith <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden>
Change-Id: I30ee8cb36d874f5eaadf7b17c60cf d362ecfa2f0 - 1500. By Mathieu Desnoyers
-
futex.h: Indent preprocessor directives
Signed-off-by: Mathieu Desnoyers <email address hidden>
Change-Id: I45f64007244dc3143cff81c6957a7 c2e0a3003bd - 1499. By Mathieu Desnoyers
-
futex.h: Use urcu_posix_assert to validate unused values
When building on FreeBSD, uaddr2 and val3 are unused. Add a
urcu_posix_assert() to validate that they are zero and hence allow users
of the API to quickly figure out that those are not effectively used.When building on OpenBSD, val3 is unused. Add a urcu_posix_assert() to
validate that it is zero.Those asserts are already present in the compat code. Use the same
mechanism to prevent users from expecting futex arguments to be used
when they are in fact discarded.Signed-off-by: Mathieu Desnoyers <email address hidden>
Change-Id: I4e69d240c6f07da471e6af0838544 40c060ef53b - 1498. By Brad Smith
-
Use futex on OpenBSD
Tested with "make check", "make regtest".
Signed-off-by: Brad Smith <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden>
Change-Id: Icd334cda928f998a2cf455839d428 ebbb4460f5e - 1497. By Benjamin Marzinski via lttng-dev <email address hidden>
-
fix: handle EINTR correctly in get_cpu_
mask_from_ sysfs If the read() in get_cpu_
mask_from_ sysfs() fails with EINTR, the code is
supposed to retry, but the while loop condition has (bytes_read > 0),
which is false when read() fails with EINTR. The result is that the code
exits the loop, having only read part of the string.Use (bytes_read != 0) in the while loop condition instead, since the
(bytes_read < 0) case is already handled in the loop.Signed-off-by: Benjamin Marzinski <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden>
Change-Id: I565030d4625ae199cabc4c2ab5eb8 ac49ea4dfcb - 1496. By Mathieu Desnoyers
-
Relicense src/compat-smp.h to MIT
Relicense the code in src/compat-smp.h from LGPLv2.1 to MIT to match the
copies in the following projects:- lttng-ust
- libside
- librseqThis code is entirely authored by EfficiOS.
This relicensing initially appeared in the lttng-ust project after
the code was imported into liburcu:commit 4159f02937a2740
abd7f5b113f376b 198a86bc71 (test-struct-tls)
Author: Mathieu Desnoyers <email address hidden>
Date: Tue Oct 25 12:32:12 2022 -0400Relicense common/smp.c common/smp.h to MIT
Signed-off-by: Mathieu Desnoyers <email address hidden>
Change-Id: Ib7edb6c18fd3c004503b9c023ba4e 280241ede14 - 1495. By Olivier Dion <email address hidden>
-
uatomic/x86: Remove redundant memory barriers
When liburcu is configured to _not_ use atomic builtins, the
implementation of atomic operations is done using inline assembler for
each architecture.Because we control the emitted assembler, we know whether specific
operations (e.g. lock; cmpxchg) already have an implicit memory barrier.
In those cases, emitting an explicit cmm_smp_mb() before/after the
operation is redundant and hurts performance.Remove those redundant barriers on x86.
Change-Id: Ic1f6cfe9c2afe2
50946549cf6187f 8fa88f5b009
Signed-off-by: Olivier Dion <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden> - 1494. By Michael Jeanson <email address hidden>
-
cleanup: move rand_r compat code to tests
This compat code is only used in the tests, move it there as it should
probably not be used in the library.Change-Id: I0a36e790c236bb
90d07a711af9cc6 f8388fa4c81
Signed-off-by: Michael Jeanson <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden> - 1493. By Mathieu Desnoyers
-
ppc: Document cache line size choice
Signed-off-by: Mathieu Desnoyers <email address hidden>
Change-Id: I63603aaf5529e9a7810cfeffe19f3 2aea0dd13df - 1492. By Mathieu Desnoyers
-
Fix: change order of _cds_lfht_
new_with_ alloc parameters The "flavor" parameter should come before the "alloc" parameter
to match the order of cds_lfht_new_with_ flavor_ alloc() parameters. Signed-off-by: Mathieu Desnoyers <email address hidden>
Change-Id: Ia704a0fd9cb90af966464e25e6202 fed1a952eed
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)