mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: pthread object sizes for new archs
Date: Mon, 9 Mar 2015 21:19:49 -0400	[thread overview]
Message-ID: <20150310011949.GA23507@brightrain.aerifal.cx> (raw)
In-Reply-To: <20150310010733.GA26844@brightrain.aerifal.cx>

On Mon, Mar 09, 2015 at 09:07:33PM -0400, Rich Felker wrote:
> What I'd like to propose is that, for all new archs, we ignore the
> glibc-provided size of the pthread types and stick with the baseline
> 32-bit sizes, enlarged only by the plausible number of fields that
> could need to be pointers if the arch is 64-bit. For mutexes, I'd like
> to stick to 32 bytes (33% increase going from 32-bit to 64-bit), but
> 40 (66% increase) wouldn't be horrible. The glibc aarch64 64-bit bloat
> cost of 100% is ridiculous though.

Note that for x32, this would mean discarding the size fix recently
made as commit e7b9887e8b65253087ab0b209dc8dd85c9f09614 and changing
all the pthread object sizes on x32 to match all the plain 32-bit
archs.

Rich


  reply	other threads:[~2015-03-10  1:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-10  1:07 Rich Felker
2015-03-10  1:19 ` Rich Felker [this message]
2015-03-10  8:30 ` Jens Gustedt
2015-03-10 18:24   ` Rich Felker

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=20150310011949.GA23507@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --cc=musl@lists.openwall.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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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).