From: Florian Weimer <fweimer@redhat.com>
To: Andreas Schwab <schwab@suse.de>
Cc: Wilco Dijkstra <Wilco.Dijkstra@arm.com>,
DJ Delorie <dj@redhat.com>,
"libc-alpha@sourceware.org" <libc-alpha@sourceware.org>,
nd <nd@arm.com>
Subject: Re: [PATCH][malloc] Improve malloc initialization sequence
Date: Thu, 12 Oct 2017 13:49:00 -0000 [thread overview]
Message-ID: <6f014ec0-5b54-74c3-f9e6-c40cfa1ff53b@redhat.com> (raw)
In-Reply-To: <mvmtvz4v5so.fsf@suse.de>
On 10/12/2017 03:45 PM, Andreas Schwab wrote:
> On Okt 12 2017, Florian Weimer <fweimer@redhat.com> wrote:
>
>> On 10/03/2017 07:18 PM, Wilco Dijkstra wrote:
>>> GLIBC builds and tests pass, OK for commit?
>>
>> The patch was truncated before being attached, it ends with:
>>
>> @@ -5137,11 +5114,13 @@ __libc_mallopt (int param_number, int value)
>> if (__malloc_initialized < 0)
>> ptmalloc_init ();
>> __libc_lock_lock (av->mutex);
>> - /* Ensure initialization/consolidation */
>> - malloc_consolidate (av);
>> =20
>> LIBC_PROBE (memory_mallopt, 2, param_number, value);
>> =20
>> + /* We must consolidate main arena before changing max_fast
>> + (see definition of set_max_fast). */
>> + malloc_consolidate (av);
>> +
>> switch (param_number)
>> {
>> case M_MXFAST:=
>>
>> This is not a valid diff hunk (after quoted-printable decoding).
>
> Looks ok to me (9 lines of context, 2-, 4+).
The = masks the final newline, so you end up with a diff hunk that
doesn't have a newline on the last line. But the file clearly goes on
after this, so this isn't valid. And even if it did not, there would be
a â\ No newline at end of fileâ marker.
Thanks,
Florian
next prev parent reply other threads:[~2017-10-12 13:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-29 16:48 Wilco Dijkstra
2017-09-29 19:36 ` Florian Weimer
2017-10-02 14:24 ` Wilco Dijkstra
2017-10-02 22:01 ` DJ Delorie
2017-10-03 17:18 ` Wilco Dijkstra
2017-10-03 20:38 ` DJ Delorie
2017-10-12 13:23 ` Florian Weimer
2017-10-12 13:45 ` Andreas Schwab
2017-10-12 13:49 ` Florian Weimer [this message]
2017-10-12 13:52 ` Wilco Dijkstra
2017-10-12 18:44 ` Florian Weimer
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=6f014ec0-5b54-74c3-f9e6-c40cfa1ff53b@redhat.com \
--to=fweimer@redhat.com \
--cc=Wilco.Dijkstra@arm.com \
--cc=dj@redhat.com \
--cc=libc-alpha@sourceware.org \
--cc=nd@arm.com \
--cc=schwab@suse.de \
/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).