public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
To: DJ Delorie <dj@redhat.com>,
	Adhemerval Zanella <adhemerval.zanella@linaro.org>
Cc: "libc-alpha@sourceware.org" <libc-alpha@sourceware.org>
Subject: Re: [PATCH v3] malloc: Use C11 atomics on memusage
Date: Mon, 3 Apr 2023 13:10:08 +0000	[thread overview]
Message-ID: <PAWPR08MB89824B203A00831625FEA1F683929@PAWPR08MB8982.eurprd08.prod.outlook.com> (raw)
In-Reply-To: <xno7obxt9l.fsf@greed.delorie.com>

Hi,

>Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:
>> -#include <atomic.h>

Just double checking, does this mean we are now happy with bypassing
the internal header, all its defines/checks and target implementations,
and require that all supported targets have correctly implemented C11
atomics?

This would make my outstanding patches on cleaning up atomics a lot
easier, however I'm wondering whether this will "just work" given the
intermediate state will be a mix between C11 atomics and various target
specific hacks. My patches tried hard to avoid such issues by taking
tiny steps in improving this and keeping everything consistent.

Cheers,
Wilco

  reply	other threads:[~2023-04-03 13:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-23 16:17 Adhemerval Zanella
2023-03-29 19:16 ` DJ Delorie
2023-04-03 13:10   ` Wilco Dijkstra [this message]
2023-04-03 13:35     ` Adhemerval Zanella Netto

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=PAWPR08MB89824B203A00831625FEA1F683929@PAWPR08MB8982.eurprd08.prod.outlook.com \
    --to=wilco.dijkstra@arm.com \
    --cc=adhemerval.zanella@linaro.org \
    --cc=dj@redhat.com \
    --cc=libc-alpha@sourceware.org \
    /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).