glibc/malloc
Will Newton 51a7380b89 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.
2014-06-19 14:34:08 +01:00
..
Depend Update. 1999-10-04 22:59:43 +00:00
Makefile Don't require test wrappers to preserve environment variables, use more consistent environment. 2014-06-06 22:19:27 +00:00
Versions Implement aligned_alloc 2012-01-01 07:17:21 -05:00
arena.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
hooks.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
malloc.c malloc/malloc.c: Avoid calling sbrk unnecessarily with zero 2014-06-19 14:34:08 +01:00
malloc.h Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
mallocbug.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
mcheck-init.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
mcheck.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
mcheck.h Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
memusage.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
memusage.sh Update remaining copyright dates 2014-01-01 22:02:55 +10:00
memusagestat.c Fix gettext call formatting 2014-01-05 17:39:45 +10:00
morecore.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
mtrace.c malloc/mtrace.c: Cosmetic cleanup. 2014-02-11 10:02:57 +00:00
mtrace.pl Update remaining copyright dates 2014-01-01 22:02:55 +10:00
obstack.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
obstack.h Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
set-freeres.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
thread-freeres.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-calloc.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-malloc-usable.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-malloc.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-mallocfork.c * malloc/tst-mallocfork.c (do_test): Make sure sa_flags is 2005-12-06 00:50:15 +00:00
tst-mallocstate.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
tst-mallopt.c malloc: Add mallopt test. 2014-05-12 12:48:41 +01:00
tst-mcheck.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-memalign.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-mtrace.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
tst-mtrace.sh Don't require test wrappers to preserve environment variables, use more consistent environment. 2014-06-06 22:19:27 +00:00
tst-obstack.c Update. 2000-11-20 17:40:29 +00:00
tst-posix_memalign.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-pvalloc.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-realloc.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
tst-trim1.c * malloc/tst-trim1.c: New file. 2007-12-16 22:57:57 +00:00
tst-valloc.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00