lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
From: Norbert Lange via lttng-dev <lttng-dev@lists.lttng.org>
To: lttng-dev <lttng-dev@lists.lttng.org>
Subject: [lttng-dev] Disabling sys_membarrier in lttng urcu
Date: Fri, 18 Jun 2021 00:13:39 +0200	[thread overview]
Message-ID: <CADYdroPw9Xnwqx97xQSyiFLR1s-Sb2RvtcbdRGu-VmG0Tfydgg@mail.gmail.com> (raw)

Hello,

Some old topic, see
https://lists.lttng.org/pipermail/lttng-dev/2019-November/029411.html.
(I actually thought this was solved meanwhile).

With lttng 2.13 liburcu is replicated in lttng-ust so my old custom
hack aint helping.

Aside from another crude hack, I thought about doing this:

extern int lttng_ust_urcu_has_sys_membarrier;
int setup() {
  lttng_ust_urcu_has_sys_membarrier = 0;
}

this is obvious possible in my own program, but I don't know if some
lttng daemon would need to update RCU structures in shared memory that
should sync to other processes (and wont do that with sys_membarrier
in case of Xenomai threads)?

Seems safer to me to hack it out once more...

Norbert
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

             reply	other threads:[~2021-06-17 22:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-17 22:13 Norbert Lange via lttng-dev [this message]
2021-06-18 17:11 ` [lttng-dev] Disabling sys_membarrier in lttng urcu 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=CADYdroPw9Xnwqx97xQSyiFLR1s-Sb2RvtcbdRGu-VmG0Tfydgg@mail.gmail.com \
    --to=lttng-dev@lists.lttng.org \
    --cc=nolange79@gmail.com \
    /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 NNTP newsgroup(s).