This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug malloc/15089] malloc_trim always trims for large padding
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 19 Jun 2014 13:35:45 +0000
- Subject: [Bug malloc/15089] malloc_trim always trims for large padding
- Auto-submitted: auto-generated
- References: <bug-15089-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=15089
--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 51a7380b8968251a49a4c5b0bc7ed1af5b0512c6 (commit)
from 91b84fe588238289e734ee05cfff26482c8f56ac (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=51a7380b8968251a49a4c5b0bc7ed1af5b0512c6
commit 51a7380b8968251a49a4c5b0bc7ed1af5b0512c6
Author: Will Newton <will.newton@linaro.org>
Date: Fri Jun 13 16:37:12 2014 +0100
malloc/malloc.c: Avoid calling sbrk unnecessarily with zero
Due to my bad review suggestion for the fix for BZ #15089 a check
was removed from systrim to prevent sbrk being called with a zero
argument. Add the check back to avoid this useless work.
ChangeLog:
2014-06-19 Will Newton <will.newton@linaro.org>
* malloc/malloc.c (systrim): If extra is zero then return
early.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
malloc/malloc.c | 3 +++
2 files changed, 8 insertions(+), 0 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.