This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: malloc: performance improvements and bugfixes


On Mon, Jan 25, 2016 at 04:50:44PM -0800, Paul Eggert wrote:
> Thanks for doing all the work and bringing it to our attention. A couple of
> comments on the process:
> 
> On 01/25/2016 04:24 PM, Joern Engel wrote:
> >I happen to prefer the kernel coding style over GNU coding style.
> 
> Nevertheless, let's keep the GNU coding style for glibc. In some places the
> existing code doesn't conform to that style but that can be fixed as we go.

Agreed.  I thought I mentioned that this is a braindump and not a
patchset for submission. ;)

And since I seem to have messed up patch numbering, here is the order
they should have:
0001-malloc-kill-mprotect.patch
0002-malloc-use-MAP_HUGETLB-when-possible.patch
0003-malloc-Lindent-new_heap.patch
0004-malloc-push-down-the-memset-for-huge-pages.patch
0005-malloc-unifdef-D__STD_C.patch
0006-malloc-remove-mstate-typedef.patch
0007-malloc-rename-.ch-to-.h.patch
0008-malloc-remove-dead-code.patch
0009-malloc-unifdef-m-DUSE_ARENAS-DHAVE_MMAP.patch
0010-malloc-unifdef-m-Ulibc_hidden_def.patch
0011-malloc-Lindent-users-of-arena_get2.patch
0012-malloc-introduce-get_backup_arena.patch
0013-malloc-Lindent-before-functional-changes.patch
0014-malloc-unifdef-m-UPER_THREAD-U_LIBC.patch
0015-malloc-initial-numa-support.patch
0016-malloc-remove-emacs-style-guards.patch
0017-malloc-turn-arena_get-into-a-function.patch
0018-malloc-use-mbind.patch
0019-malloc-unobfuscate-an-assert.patch
0020-malloc-remove-__builtin_expect.patch
0021-malloc-Revert-glibc-1d05c2fb9c6f.patch
0022-malloc-use-tsd_getspecific-for-arena_get.patch
0023-malloc-hide-THREAD_STATS.patch
0024-malloc-unifdef-m-UATOMIC_FASTBINS.patch
0025-malloc-Lindent-public_fREe.patch
0026-malloc-create-a-useful-assert.patch
0027-malloc-fix-mbind-on-old-kernels.patch
0028-malloc-brain-dead-thread-cache.patch
0029-malloc-prefetch-for-tcache_malloc.patch
0030-malloc-use-bitmap-to-conserve-hot-bins.patch
0031-malloc-use-atomic-free-list.patch
0032-malloc-tune-thread-cache.patch
0033-malloc-avoid-main_arena.patch
0034-malloc-add-documentation.patch
0035-malloc-fix-local_next-handling.patch
0036-malloc-always-free-objects-locklessly.patch
0037-malloc-only-free-half-the-objects-on-tcache_gc.patch
0038-malloc-destroy-thread-cache-on-thread-exit.patch
0039-malloc-s-max_node-num_nodes.patch
0040-malloc-better-inline-documentation.patch
0041-malloc-fix-hard-coded-constant.patch
0042-malloc-document-and-fix-linked-list-handling.patch
0043-malloc-limit-free_atomic_list-latency.patch
0044-malloc-make-numa_node_count-more-robust.patch
0045-malloc-fix-startup-races.patch
0046-malloc-quenche-last-compiler-warnings.patch
0047-malloc-simplify-and-fix-calloc.patch
0048-malloc-remove-stale-condition.patch
0049-malloc-fix-perturb_byte-handling-for-tcache.patch
0050-malloc-move-out-perturb_byte-conditionals.patch
0051-malloc-add-locking-to-thread-cache.patch
0052-malloc-plug-thread-cache-memory-leak.patch
0053-malloc-allow-recursion-from-ptmalloc_init-to-malloc.patch
0054-malloc-remove-get_backup_arena-from-tcache_malloc.patch
0055-malloc-fix-calculation-of-aligned-heaps.patch
0056-malloc-remove-hooks-from-malloc-and-free.patch
0057-malloc-remove-tcache-prefetching.patch
0058-malloc-create-aliases-for-malloc-free.patch
0059-malloc-remove-atfork-hooks.patch
0060-malloc-remove-all-remaining-hooks.patch
0061-malloc-define-__libc_memalign.patch
0062-malloc-Don-t-call-tsd_setspecific-before-tsd_key_cre.patch
0063-malloc-speed-up-mmap.patch

Jörn

--
Happiness isn't having what you want, it's wanting what you have.
-- unknown


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]