[lttng-dev] [PATCH urcu] cds_lfht_is_node_deleted parameter can be marked const

2019-10-28 Thread Jérémie Galarneau
Mark the cds_lfht_node pointer parameter of cds_lfht_is_node_deleted as const. The fact that this parameter is mutable makes it harder to use liburcu in const-correct code. Signed-off-by: Jérémie Galarneau --- include/urcu/rculfhash.h | 2 +- src/rculfhash.c | 4 ++-- 2 files changed, 3

Re: [lttng-dev] [PATCH urcu] cds_lfht_is_node_deleted parameter can be marked const

2019-10-28 Thread Mathieu Desnoyers
Merged into liburcu master, thanks! Mathieu - On Oct 28, 2019, at 3:24 PM, Jeremie Galarneau jeremie.galarn...@efficios.com wrote: > Mark the cds_lfht_node pointer parameter of cds_lfht_is_node_deleted > as const. The fact that this parameter is mutable makes it harder to > use liburcu in c

[lttng-dev] [PATCH lttng-modules] Add missing include for kernels between 3.8 and 3.15

2019-10-28 Thread Michael Jeanson
This is required at least for: v3.13.x v3.11.x v3.9.x v3.8.x Signed-off-by: Michael Jeanson --- lttng-context-mnt-ns.c | 1 + lttng-context-net-ns.c | 1 + 2 files changed, 2 insertions(+) diff --git a/lttng-context-mnt-ns.c b/lttng-context-mnt-ns.c index 98d5b8e..b5bb955 100644 --- a/lttng

Re: [lttng-dev] [PATCH lttng-modules] Add missing include for kernels between 3.8 and 3.15

2019-10-28 Thread Mathieu Desnoyers
Merged into master, thanks! Mathieu - On Oct 28, 2019, at 4:28 PM, Michael Jeanson mjean...@efficios.com wrote: > This is required at least for: > v3.13.x > v3.11.x > v3.9.x > v3.8.x > > Signed-off-by: Michael Jeanson > --- > lttng-context-mnt-ns.c | 1 + > lttng-context-net-ns.c | 1 + > 2