lttng-dev Archive mirror
 help / color / mirror / Atom feed
From: Duncan Sands via lttng-dev <lttng-dev@lists.lttng.org>
To: lttng-dev <lttng-dev@lists.lttng.org>
Subject: [lttng-dev] Compile fix for urcu-bp.c
Date: Fri, 29 Mar 2024 15:06:03 +0100	[thread overview]
Message-ID: <c0fa14f8-2771-4597-9232-0438a67badca@free.fr> (raw)

--- src/urcu-bp.c
+++ src/urcu-bp.c
@@ -409,7 +409,7 @@ void expand_arena(struct registry_arena *arena)
  		new_chunk_size_bytes, 0);
  	if (new_chunk != MAP_FAILED) {
  		/* Should not have moved. */
-		assert(new_chunk == last_chunk);
+		urcu_posix_assert(new_chunk == last_chunk);
  		memset((char *) last_chunk + old_chunk_size_bytes, 0,
  			new_chunk_size_bytes - old_chunk_size_bytes);
  		last_chunk->capacity = new_capacity;
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

             reply	other threads:[~2024-03-29 14:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-29 14:06 Duncan Sands via lttng-dev [this message]
2024-04-01 14:03 ` [lttng-dev] Compile fix for urcu-bp.c Mathieu Desnoyers via lttng-dev

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=c0fa14f8-2771-4597-9232-0438a67badca@free.fr \
    --to=lttng-dev@lists.lttng.org \
    --cc=baldrick@free.fr \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).