| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-07-05 | Revert "jemalloc: Enforce alignment-must-divide-size rule of aligned_alloc." | riastradh | |
| Apparently this restriction was lifted in C17, and this was even documented in a part of the man page I didn't notice because I got stuck at the incomplete sentence `The aligned_alloc function conforms to.'. Sorry for the noise, folks. | |||
| 2023-07-04 | jemalloc: Enforce alignment-must-divide-size rule of aligned_alloc. | riastradh | |
| C11, Sec. 7.22.3.1 The aligned_alloc function, paragraph 2, p. 348: The value of alignment shall be a valid alignment supported by the implementation and the value of size shall be an integral multiple of alignment. posix_memalign does not appear to have any corresponding constraint. XXX pullup-10 | |||
| 2023-07-01 | jemalloc: enable lint again, it is no longer broken | rillig | |
| Since today, lint handles unnamed struct/union correctly. | |||
| 2023-06-26 | jemalloc: reduce CONSTCOND diff to upstream | rillig | |
| Since 2021-01-31, lint no longer needs these comments. | |||
| 2020-11-17 | Support aarch64eb in */config.guess. | rin | |
| Cherry-picked from upstream: https://git.savannah.gnu.org/gitweb/?p=config.git;a=commit;h=1c4398015583eb77bc043234f5734be055e64bea Everything except external/apache2/llvm/dist/llvm/cmake/config.guess is patched, which is under vendor tag and cannot be modified. I expect that this file is not actually used as we use hand-crafted version of configure script instead of cmake for building LLVM. Note that external/apache2/llvm/autoconf/autoconf/config.guess has already been committed on Oct. 20, but commit message disappeared as cvs aborted due to "permission denied" when trying to modify the file mentioned above. Sorry for confusing you. Also note that GMP uses its own config.guess Patch for external/lgpl3/gmp/dist/config.guess is provided by ryo@. Thanks! | |||
| 2020-09-06 | Appease gcc-9 | christos | |
| 2020-06-04 | If _malloc_thread_cleanup is implement, call it from libpthread. | joerg | |
| Provide the hook from modern jemalloc to avoid using TSD for the thread destruction cleanup as it can result in reentrancy crashes if fork is called from a thread that never called malloc as it will result in a late malloc from the pre-fork synchronisation handler. | |||
| 2020-05-15 | Hook up proper fork lock handling for malloc: | joerg | |
| - lock all relevant mutexes just before fork - unlock all mutexes just after fork in the parent - full reinit non-spinlocks in the child This is not using the normal pthread_atfork interface to ensure order of operation, malloc is used as implementation detail too often. | |||
| 2020-05-15 | When using default mutex types, don't setup attributes for init. | joerg | |
| 2020-02-15 | jemalloc: Avoid variable length array with length 0 | kamil | |
| Cherry-pick upstrem patch. https://github.com/jemalloc/jemalloc/pull/1768 | |||
| 2020-01-06 | set that NetBSD overcommits (from maya) | christos | |
| 2019-10-03 | realloc(ptr, 0) != { free(ptr); return NULL; } | christos | |
| http://www.open-std.org/jtc1/sc22/wg14/www/docs/summary.htm#dr_400 | |||
| 2019-07-27 | Ensure that percpu_arena_update is really dead if it shouldn't work and | joerg | |
| really alive otherwise. | |||
| 2019-04-26 | Enforce alignment also if the compiled in PAGE_SIZE is bigger than | christos | |
| getpagesize() | |||
| 2019-04-26 | Undo previous, it is moving us in the wrong direction. | christos | |
| 2019-04-24 | Allow os_page sizes greater than the built-in page size. This can happen | christos | |
| for example for COMPAT_NETBSD32 sparc binaries (4K page size because of MIN_PAGE_SIZE), running on sparc64 (8K pages). | |||
| 2019-03-16 | we have MAP_ALIGNED, so use it (although it does not do anything by default) | christos | |
| 2019-03-16 | PR/54062: Fix the "snprintf_float" test failing after the jemalloc import | christos | |
| issue: jemalloc uses a lot more memory (if it can find it) by default and this test limited the amount of memory it could get, causing it to get to an error path with a missing mutex_unlock... | |||
| 2019-03-14 | revert previous sshd hack (from Rin Okuyama) | christos | |
| 2019-03-14 | Grr, disable the "time goes backwards" test here since this breaks too | christos | |
| frequently. We need a real fix. | |||
| 2019-03-14 | Sync with installed versions. | christos | |
| 2019-03-14 | Remove __clang___ hacks for noreturn, reduce footprint when we don't compile | christos | |
| with JEMALLOC_PROF. More to do here. | |||
| 2019-03-12 | - descend to build libjemalloc | christos | |
| - namespace protect all functions __je - provide getters and setters for malloc_conf and malloc_message | |||
| 2019-03-11 | Add an initializatin that is not needed when the optimizer works... | christos | |
| 2019-03-10 | Add noreturn where needed. In the prof case because of cassert() and return | christos | |
| in some functions we disable the cassert() for clang. We should really have a JEMALLOC_PROF_NORETURN and a way to mark the remaining of the function unreachable. | |||
| 2019-03-10 | Rename je_mallctltomib to je_mallctlnametomib | kamil | |
| This unbreaks the build. | |||
| 2019-03-10 | Make the non-standard jemalloc api weak. | christos | |
| 2019-03-05 | Sync with installed files. | christos | |
| 2019-03-05 | revert previous; not needed. | christos | |
| 2019-03-05 | Check that the previous link exists before merging it. | christos | |
| XXX: Is that right? Fixing this makes the h_resolve test work. | |||
| 2019-03-04 | Add FALLTHROUGH comments. | christos | |
| 2019-03-04 | add constcond | christos | |
| 2019-03-04 | - fix shadowing | christos | |
| - add constcond | |||
| 2019-03-04 | Adjust to new names | christos | |
| 2019-03-04 | adjust prototype | christos | |
| 2019-03-04 | use UNCONST | christos | |
| 2019-03-04 | fix prototypes | christos | |
| 2019-03-04 | fix incorrect macro use | christos | |
| 2019-03-04 | fix const hash | christos | |
| 2019-03-04 | remove unused line | christos | |
| 2019-03-04 | fix shadowing | christos | |
| 2019-03-04 | fix prototype | christos | |
| 2019-03-04 | use c99 initializers | christos | |
| 2019-03-04 | use __format_arg__ to check format arguments. | christos | |
| 2019-03-04 | put back __UNCONST for now. | christos | |
| 2019-03-04 | use c99 initializers | christos | |
| 2019-03-04 | Add a c99 initializer | christos | |
| 2019-03-04 | use c99 initializers | christos | |
| 2019-03-04 | - add unconst | christos | |
| - fixes for shadowing | |||
| 2019-03-04 | fix for shadowing. | christos | |
