Commit Graph

  • 1ffd5e96d6 Avoid strncpy in malloc_strcpy orbisai0security 2026-05-02 14:40:20 +05:30
  • be2de8ccd8 Introduce pinned extents to contain unpurgeable pages Bin Liu 2026-04-19 22:56:22 -07:00
  • 7638093c73 Improve const correctness in the repo Slobodan Predolac 2026-04-30 13:27:40 -07:00
  • 86f058287f Restore errno save/restore in pages_purge_process_madvise_impl Slobodan Predolac 2026-04-30 15:42:19 -07:00
  • 9ae0c1b6d3 Make huge_arena_ind static within the arena module (Follow up for PR #2904) Slobodan Predolac 2026-04-30 12:31:55 -07:00
  • 3a77966168 Preserve errno across free, free_sized, and free_aligned_sized Slobodan Predolac 2026-04-29 15:06:27 -07:00
  • 4cc497a4a7 Add configurable HPA opts, shard count override, and bump MAX_ALLOCATIONS Slobodan Predolac 2026-04-28 16:35:16 -07:00
  • 6e0b8e6daa Improve unit test coverage for jemalloc_init, arenas_management, and jemalloc_fork modules Slobodan Predolac 2026-04-26 14:12:22 -07:00
  • ba1e2fe4db Extract fork orchestration into jemalloc_fork module Slobodan Predolac 2026-04-24 11:06:50 -07:00
  • ec07fc3c5f Extract initialization logic from jemalloc.c into jemalloc_init module Slobodan Predolac 2026-04-27 15:44:13 -07:00
  • e0a8401533 Extract arena state and management from jemalloc.c into arenas_management module Slobodan Predolac 2026-04-27 15:39:41 -07:00
  • ee4d7b7f9a Update a0's oversize threshold regardless whether huge arena is enabled or not. guangli-dai 2026-04-28 22:10:27 -07:00
  • 70b228dece Fix assertion for cases where tiny classes do not exist guangli-dai 2026-04-28 21:33:26 -07:00
  • 1a15fe33a4 Replace std::__throw_bad_alloc call with standard C++ (#2900) lexprfuncall 2026-04-27 11:50:27 -07:00
  • bb0a6aca10 Allow spaces in prefix. guangli-dai 2026-04-23 16:05:51 -07:00
  • 3a02c75e04 Merge branch 'dev' master guangli-dai 2026-04-24 22:10:20 -07:00
  • 76015f519f Fix bug in pa_microbench Slobodan Predolac 2026-04-23 11:29:25 -07:00
  • 8072ccc5e9 Fix a link error in the doc guangli-dai 2026-04-22 14:57:06 -07:00
  • 6cd31c0985 Fix several typos in the comments Slobodan Predolac 2026-04-22 09:09:44 -07:00
  • d7b283ed32 Update Github Actions generation script and upgrade freeBSD actions. guangli-dai 2026-04-21 10:54:59 -07:00
  • 94977e823e [ci] Update GitHub Actions to their latest major release Christoph Grüninger 2026-03-17 13:57:11 +01:00
  • 873d91033b Add conf.c into msvc and update INSTALL.md guangli-dai 2026-04-17 10:39:48 -07:00
  • 0edea8b1b0 Update msys to vs2022 for appveyor guangli-dai 2026-04-16 17:40:21 -07:00
  • 1f44a8b11d Change permission modes of static libraries to 644 (#2885) Integral 2026-04-20 05:13:02 +08:00
  • 81034ce1f1 Update ChangeLog for release 5.3.1 5.3.1 Guangli Dai 2026-04-13 17:12:37 -07:00
  • b8646f4db3 Fix opt.max_background_threads default in docs Ian Ker-Seymer 2026-04-10 09:05:09 -04:00
  • 6515df8cec Documentation updates (#2869) Guangli Dai 2026-04-07 10:41:44 -07:00
  • f265645d02 Emit retained HPA slab stats in JSON Slobodan Predolac 2026-03-27 13:58:27 -07:00
  • db7d99703d Add TODO to benchmark possibly better policy Slobodan Predolac 2026-03-27 13:54:15 -07:00
  • 6281482c39 Nest HPA SEC stats inside hpa_shard JSON Slobodan Predolac 2026-03-27 13:50:11 -07:00
  • 3cc56d325c Fix large alloc nrequests under-counting on cache misses Slobodan Predolac 2026-03-27 13:30:58 -07:00
  • a47fa33b5a Run clang-format on test/unit/tcache_max.c Slobodan Predolac 2026-03-31 20:37:23 -07:00
  • b507644cb0 Fix conf_handle_char_p zero-sized dest and remove unused conf_handle_unsigned Slobodan Predolac 2026-03-27 12:27:00 -07:00
  • 3ac9f96158 Run clang-format on test/unit/conf_parse.c Slobodan Predolac 2026-03-31 20:33:49 -07:00
  • 5904a42187 Fix memory leak of old curr_reg on san_bump_grow_locked failure Slobodan Predolac 2026-03-27 10:07:05 -07:00
  • 2fceece256 Fix extra size argument in edata_init call in extent_alloc_dss Slobodan Predolac 2026-03-27 10:06:22 -07:00
  • 234404d324 Fix wrong loop variable for array index in sz_boot_pind2sz_tab Slobodan Predolac 2026-03-27 10:06:15 -07:00
  • 675ab079e7 Fix missing release of acquired neighbor edata in extent_try_coalesce_impl Slobodan Predolac 2026-03-27 10:04:43 -07:00
  • 3f6e63e86a Fix wrong type for malloc_read_fd return value in prof_stack_range Slobodan Predolac 2026-03-27 10:04:36 -07:00
  • dd30c91eaa Fix wrong fallback value in os_page_detect when sysconf fails Slobodan Predolac 2026-03-27 10:04:28 -07:00
  • 3a8bee81f1 Fix pac_mapped stats inflation on allocation failure Slobodan Predolac 2026-03-27 10:03:06 -07:00
  • c2d57040f0 Fix out-of-bounds write in malloc_vsnprintf when size is 0 Slobodan Predolac 2026-03-27 10:02:59 -07:00
  • eab2b29736 Fix off-by-one in stats_arenas_i_bins_j and stats_arenas_i_lextents_j bounds checks Slobodan Predolac 2026-03-27 09:57:34 -07:00
  • a0f2bdf91d Fix missing negation in large_ralloc_no_move usize_min fallback Slobodan Predolac 2026-03-27 09:57:28 -07:00
  • 87f9938de5 Fix duplicate "nactive_huge" JSON key in HPA shard stats output Slobodan Predolac 2026-03-27 09:02:32 -07:00
  • 513778bcb1 Fix off-by-one in arenas_bin_i_index and arenas_lextent_i_index bounds checks Slobodan Predolac 2026-03-27 08:42:54 -07:00
  • 176ea0a801 Remove experimental.thread.activity_callback Slobodan Predolac 2026-03-31 18:12:23 -07:00
  • 19bbefe136 Remove dead code: extent_commit_wrapper, large_salloc, tcache_gc_dalloc event waits Slobodan Predolac 2026-03-31 18:25:50 -07:00
  • a87c518bab Fix typo in prof_log_rep_check: use != instead of || for alloc_count Weixie Cui 2026-03-18 11:35:09 +08:00
  • d758349ca4 Fix psset_pick_purge when last candidate with index 0 dirtiness is ineligible Slobodan Predolac 2026-03-25 21:13:34 -07:00
  • 1d018d8fda improve hpdata_assert_consistent() Tony Printezis 2026-03-25 06:59:01 -07:00
  • 86b7219213 Add unit tests for conf parsing and its helpers Carl Shapiro 2026-03-02 13:02:59 -08:00
  • ad726adf75 Separate out the configuration code from initialization Carl Shapiro 2026-03-02 13:02:46 -08:00
  • a056c20d67 Handle tcache init failures gracefully Carl Shapiro 2026-03-02 17:15:35 -08:00
  • a75655badf Add unit test coverage for bin interfaces Carl Shapiro 2026-02-27 12:02:07 -08:00
  • 0ac9380cf1 Move bin inline functions from arena_inlines_b.h to bin_inlines.h Carl Shapiro 2026-02-23 23:31:27 -08:00
  • 1cc563f531 Move bin functions from arena.c to bin.c Carl Shapiro 2026-02-23 23:31:12 -08:00
  • c73ab1c2ff Add a test to check the output in JSON-based stats is consistent with mallctl results. guangli-dai 2026-02-21 11:36:55 -08:00
  • 12b33ed8f1 Fix wrong mutex stats in json-formatted malloc stats guangli-dai 2026-02-18 17:39:57 -08:00
  • 79cc7dcc82 Guard os_page_id against a NULL address Carl Shapiro 2026-02-25 13:00:42 -08:00
  • a10ef3e1f1 configure: add --with-cxx-stdlib option Yuxuan Chen 2026-02-24 18:12:56 -08:00
  • 0fa27fd28f Run single subtest from a test file Tony Printezis 2026-02-19 12:42:52 -08:00
  • 34ace9169b Remove prof_threshold built-in event. It is trivial to implement it as user event if needed Slobodan Predolac 2026-02-12 11:49:28 -08:00
  • 4d0ffa075b Fix background thread initialization race Andrei Pechkurov 2026-01-09 21:55:45 +02:00
  • d4908fe44a Revert "Experimental configuration option for fast path prefetch from cache_bin" Slobodan Predolac 2026-02-05 19:18:19 -08:00
  • c51abba131 Determine the page size on Android from NDK header files Carl Shapiro 2026-01-20 18:56:32 -08:00
  • 5f353dc283 Remove an incorrect use of the address operator Carl Shapiro 2025-12-23 14:18:43 -08:00
  • 365747bc8d Use the BRE construct \{1,\} for one or more consecutive matches Carl Shapiro 2025-12-22 20:36:03 -08:00
  • 6016d86c18 [SEC] Make SEC owned by hpa_shard, simplify the code, add stats, lock per bin Slobodan Predolac 2025-10-30 16:05:04 -07:00
  • c7690e92da Remove Cirrus CI Slobodan Predolac 2025-12-09 13:14:24 -05:00
  • 441e840df7 Add a script to generate github actions instead of Travis CI and Cirrus Slobodan Predolac 2025-12-05 19:45:17 -05:00
  • 0988583d7c Add a mallctl for users to get an approximate of active bytes. Guangli Dai 2025-11-25 16:26:49 -08:00
  • 8a06b086f3 [EASY] Extract hpa_central component from hpa source file Slobodan Predolac 2025-09-30 09:37:09 -07:00
  • 355774270d [EASY] Encapsulate better, do not pass hpa_shard when hooks are enough, move shard independent actions to hpa_utils Slobodan Predolac 2025-09-30 08:36:19 -07:00
  • 47aeff1d08 Add experimental_enforce_hugify Slobodan Predolac 2025-11-19 14:25:58 -08:00
  • 6d4611197e move fill/flush pointer array out of tcache.c Shirui Cheng 2025-10-21 18:53:35 -07:00
  • 3678a57c10 When extracting from central, hugify_eager is different than start_as_huge Slobodan Predolac 2025-10-13 11:37:49 -07:00
  • 2cfa41913e Refactor init_system_thp_mode and print it in malloc stats. guangli-dai 2025-10-07 16:18:07 -07:00
  • 87555dfbb2 Do not release the hpa_shard->mtx when inserting newly retrieved page from central before allocating from it Slobodan Predolac 2025-10-07 16:42:15 -07:00
  • f714cd9249 Inline the value of an always false boolean local variable Carl Shapiro 2025-10-06 15:45:38 -07:00
  • 5e49c28ef0 [EASY] Spelling in the comments Slobodan Predolac 2025-10-06 12:01:13 -07:00
  • 7c40be249c Add npurges and npurge_passes to output of pa_benchmark Slobodan Predolac 2025-09-16 16:50:11 -07:00
  • 707aab0c95 [pa-bench] Add clock to pa benchmark Slobodan Predolac 2025-09-16 13:25:42 -07:00
  • a199278f37 [HPA] Add ability to start page as huge and more flexibility for purging Slobodan Predolac 2025-08-25 13:23:07 -07:00
  • ace437d26a Running clang-format on two files Slobodan Predolac 2025-09-30 07:13:12 -07:00
  • 2688047b56 Revert "Do not dehugify when purging" Slobodan Predolac 2025-09-29 09:41:51 -07:00
  • de886e05d2 Revert "Remove an unused function and global variable" Slobodan Predolac 2025-09-29 09:41:14 -07:00
  • 755735a6bf Remove Travis Windows CI for now since it has infra failures. guangli-dai 2025-09-17 10:18:25 -07:00
  • d70882a05d [sdt] Add some tracepoints to sec and hpa modules Slobodan Predolac 2025-08-07 09:34:30 -07:00
  • 67435187d1 Improve the portability of grep patterns in configure.ac Carl Shapiro 2025-09-12 18:07:12 -07:00
  • 261591f123 Add a page-allocator microbenchmark. guangli-dai 2025-08-24 23:57:26 -07:00
  • 56cdce8592 Adding trace analysis in preparation for page allocator microbenchmark. guangli-dai 2025-08-24 18:56:12 -07:00
  • daf44173c5 Replace an instance of indentation with spaces with tabs Carl Shapiro 2025-09-11 14:46:35 -07:00
  • ce02945070 Add missing thread_event_registry.c to Visual Studio projects Aurélien Brooke 2025-09-04 08:55:47 +02:00
  • c51949ea3e Update config.guess and config.sub to the latest versions lexprfuncall 2025-08-26 13:32:57 -07:00
  • 5a634a8d0a Always use pthread_equal to compare thread IDs Carl Shapiro 2025-08-27 16:48:40 -07:00
  • 5d5f76ee01 Remove pidfd_open call handling and rely on PIDFD_SELF Slobodan Predolac 2025-08-26 15:15:08 -07:00
  • 9442300cc3 Change the default page size to 64KiB on Aarch64 Linux lexprfuncall 2025-08-25 19:39:30 -07:00
  • 2a66c0be5a [EASY][BUGFIX] Spelling and format Slobodan Predolac 2025-08-23 08:53:28 -07:00
  • 38b12427b7 Define malloc_{write,read}_fd as non-inline global functions lexprfuncall 2025-08-06 21:32:16 -07:00