This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch dj/malloc-tcache updated. glibc-2.24-670-g2e77fe7
- From: dj at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 26 Jan 2017 19:26:46 -0000
- Subject: GNU C Library master sources branch dj/malloc-tcache updated. glibc-2.24-670-g2e77fe7
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, dj/malloc-tcache has been updated
via 2e77fe7e00370abd1090a665453eee31fddedbb1 (commit)
from ab517814a8108cfa1f000e9bce6dda0297056e7f (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 -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=2e77fe7e00370abd1090a665453eee31fddedbb1
commit 2e77fe7e00370abd1090a665453eee31fddedbb1
Author: DJ Delorie <dj@delorie.com>
Date: Thu Jan 26 14:26:23 2017 -0500
More minor style changes.
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 792e28a..b618be8 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -1791,7 +1791,7 @@ static struct malloc_par mp_ =
,
.tcache_count = TCACHE_FILL_COUNT,
.tcache_max = TCACHE_IDX,
- .tcache_max_bytes = tidx2usize(TCACHE_IDX),
+ .tcache_max_bytes = tidx2usize (TCACHE_IDX),
.tcache_unsorted_limit = 0 /* No limit */
#endif
};
@@ -3518,7 +3518,7 @@ _int_malloc (mstate av, size_t bytes)
e->next = tcache.entries[tc_idx];
tcache.entries[tc_idx] = e;
++tcache.counts[tc_idx];
- found ++;
+ ++found;
}
}
}
@@ -3587,7 +3587,7 @@ _int_malloc (mstate av, size_t bytes)
e->next = tcache.entries[tc_idx];
tcache.entries[tc_idx] = e;
++tcache.counts[tc_idx];
- found ++;
+ ++found;
}
}
}
-----------------------------------------------------------------------
Summary of changes:
malloc/malloc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
GNU C Library master sources