mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Harald Becker <ralda@gmx.de>
Cc: musl@lists.openwall.com, dalias@aerifal.cx
Subject: Re: Current status: important changes since 0.9.11
Date: Fri, 19 Jul 2013 21:40:25 +0200	[thread overview]
Message-ID: <20130719214025.7c8f2197@ralda.gmx.de> (raw)
In-Reply-To: <20130719185301.GJ12469@brightrain.aerifal.cx>

Hi Rich!

19-07-2013 14:53 Rich Felker <dalias@aerifal.cx>:

> On Fri, Jul 19, 2013 at 08:39:23PM +0200, Harald Becker wrote:

> 1. We already have "optimized asm" for a few archs, and I
> didn't see a strong argument for removing it.

The strong argument is single point of failure and equal startup
on all plattforms. If you include the asm versions in main
stream, nobody will use/test the new version on those systems. As
soon as you decide to drop old code you stumble into the trouble,
if such exist. Why not doing a careful and documented break (new
startup) in next release. They should be compatible and tested
for the main lines, so most people will not encounter problems.
And those who catch trouble ... (see below)

> 2. There's a chance to mess up odd arch-specific requirements,
>    alignment, etc. in the new asm fragment unless it undergoes
> some careful review.

Sure. That's the reason why I would include the old asm startup
in the next release or the one there after, as (proposed)
unmaintained code. If one stumbles into a rare corner case, which
may be tracked down to the new startup files, it is possible to
grab the old startup ... but you probably get early response of
this, and may be able to fix new startup to handle things
properly. As long as you get response to startup code, hold old
asm versions in release for fallback usage. The relaese one
version with proposed removal of old startup code, then drop
it ... and you safe a lot of work on different places.

Or do it in this way:

Release one version with new old startup code as main stream and
new one as alternative. Requesting testing, proposing switchover.

If there is no response of startup code failures switch over to
new startup on next release, with fallback to old asm version.

This gives you an extra cycle/slot of testing, but rapid switch
over and saving work for the future.

--
Harald


  reply	other threads:[~2013-07-19 19:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-19 16:12 Rich Felker
2013-07-19 18:39 ` Harald Becker
2013-07-19 18:53   ` Rich Felker
2013-07-19 19:40     ` Harald Becker [this message]
2013-07-19 19:49     ` Luca Barbato
2013-07-19 19:54       ` Rich Felker
2013-07-19 20:19         ` Luca Barbato
2013-07-19 20:26           ` Rich Felker
2013-07-19 20:36             ` Luca Barbato
2013-07-22  4:57 ` idunham

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=20130719214025.7c8f2197@ralda.gmx.de \
    --to=ralda@gmx.de \
    --cc=dalias@aerifal.cx \
    --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).