Commit graph

  • e6d2c31ed3 Define malloc_{write,read}_fd as non-inline global functions lexprfuncall 2025-08-06 21:32:16 -07:00
  • 8a231568f9 Handle interruptions and retries of read(2) and write(2) lexprfuncall 2025-08-21 20:44:18 -07:00
  • e74d9fb73d Remove an orphaned comment lexprfuncall 2025-08-05 20:39:04 -07:00
  • 1472042a5f Revert PR #2608: Manually revert commits 70c94d..f9c0b5 Shirui Cheng 2025-07-15 15:44:14 -07:00
  • 17ac1eee7d Fix the compilation check for process madvise lexprfuncall 2025-08-21 11:16:33 -07:00
  • 7c1cecc0d2 Save and restore errno when calling process_madvise Slobodan Predolac 2025-08-13 17:59:36 -07:00
  • 868a3b3fd6 Remove an unused function and global variable lexprfuncall 2025-08-20 16:30:00 -07:00
  • ccd4c15a3c Experimental configuration option for fast path prefetch from cache_bin Slobodan Predolac 2025-06-04 09:48:14 -07:00
  • 4c9ec34dc8 Use relaxed atomics to access the process madvise pid fd lexprfuncall 2025-08-04 13:13:27 -07:00
  • 9bd26fc9f5 Do not dehugify when purging lexprfuncall 2025-08-04 14:43:03 -07:00
  • 965b3a1130 Fix several spelling errors in comments lexprfuncall 2025-08-04 11:25:10 -07:00
  • dc2c0276e8 [process_madvise] Make init lazy so that python tests pass. Reset the pidfd on fork Slobodan Predolac 2025-07-25 10:14:28 -07:00
  • 07a3742f72 Add several USDT probes for hpa Slobodan Predolac 2025-06-10 11:44:23 -07:00
  • 3832502bed Add experimental support for usdt systemtap probes Slobodan Predolac 2025-06-09 21:29:55 -07:00
  • d85d651995 Ignore the clang-format changes in the git blame. guangli-dai 2025-06-20 14:41:13 -07:00
  • 6206ffb9a8 Reformat the codebase with the clang-format 18. guangli-dai 2025-06-13 12:31:12 -07:00
  • 030921c64d Update the default value for opt_experimental_tcache_gc and opt_calloc_madvise_threshold Shirui Cheng 2025-06-04 13:28:37 -07:00
  • 85e8400820 Remove --enable-limit-usize-gap for cirrus CI since the config-time option is removed. Guangli Dai 2025-06-13 15:46:51 -07:00
  • da143c460b Update appveyor settings. guangli-dai 2025-06-13 14:15:50 -07:00
  • 6fa3372872 test/unit/psset.c: fix SIGSEGV when PAGESIZE is large. Closes #2408 dzhao.ampere 2025-06-11 15:15:25 +08:00
  • 1a9f5d237e [thread_event] Add support for user events in thread events when stats are enabled Slobodan Predolac 2025-03-28 07:35:53 -07:00
  • 153fab2b00 [thread_event] Remove macros from thread_event and replace with dynamic event objects Slobodan Predolac 2025-03-14 06:34:05 -07:00
  • 760166f3e9 [TEST] Trigger CIs guangli-dai 2026-03-02 10:20:28 -08:00
  • 6e988bf8bd 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
  • b6b425f09a Fix wrong mutex stats in json-formatted malloc stats guangli-dai 2026-02-18 17:39:57 -08:00
  • 0ff1fd6621
    Update README (#79) wenlei 2026-03-02 16:17:15 -08:00
  • e73e76e0ef Fix build with gcc 16.x Ted Rodgers 2025-12-22 23:16:12 -05:00
  • 74a0595a7e Guard os_page_id against a NULL address Carl Shapiro 2026-02-25 13:00:42 -08:00
  • f0eb433efe Guard os_page_id against a NULL address Carl Shapiro 2026-02-25 13:00:42 -08:00
  • 72b33dc464 configure: add --with-cxx-stdlib option Yuxuan Chen 2026-02-24 18:12:56 -08:00
  • ef54bb487d configure: add --with-cxx-stdlib option Yuxuan Chen 2026-02-24 18:12:56 -08:00
  • f21cd255cb Run single subtest from a test file Tony Printezis 2026-02-19 12:42:52 -08:00
  • ee15d1f82f Run single subtest from a test file Tony Printezis 2026-02-19 12:42:52 -08:00
  • fbcec8b245 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
  • 7bf49ca689 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
  • 0da809bf4f configure: add --with-cxx-stdlib option Yuxuan Chen 2026-02-24 18:12:56 -08:00
  • 11b19440dc Fix background thread initialization race Andrei Pechkurov 2026-01-09 21:55:45 +02:00
  • bee30a9cd3 Fix background thread initialization race Andrei Pechkurov 2026-01-09 21:55:45 +02:00
  • 82c8f18b3d Revert "Experimental configuration option for fast path prefetch from cache_bin" Slobodan Predolac 2026-02-05 19:18:19 -08:00
  • 2fe05dc6b8 Revert "Experimental configuration option for fast path prefetch from cache_bin" Slobodan Predolac 2026-02-05 19:18:19 -08:00
  • ac9cb6b3ae Determine the page size on Android from NDK header files Carl Shapiro 2026-01-20 18:56:32 -08:00
  • 5d6efc6f58 Determine the page size on Android from NDK header files Carl Shapiro 2026-01-20 18:56:32 -08:00
  • 94f3fabaf9 Remove an incorrect use of the address operator Carl Shapiro 2025-12-23 14:18:43 -08:00
  • 0d7a26e9b6 Remove an incorrect use of the address operator Carl Shapiro 2025-12-23 14:18:43 -08:00
  • c82cd84af2 Use the BRE construct \{1,\} for one or more consecutive matches Carl Shapiro 2025-12-22 20:36:03 -08:00
  • 7f043becad Use the BRE construct \{1,\} for one or more consecutive matches Carl Shapiro 2025-12-22 20:36:03 -08:00
  • 2cc2339d82 [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
  • afce889cc9 [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
  • ce81f9a891 Remove Cirrus CI Slobodan Predolac 2025-12-09 13:14:24 -05:00
  • f9c90d5c20 Remove Cirrus CI Slobodan Predolac 2025-12-09 13:14:24 -05:00
  • e1d2d7a1ae Add a script to generate github actions instead of Travis CI and Cirrus Slobodan Predolac 2025-12-05 19:45:17 -05:00
  • 8779a94fad Add a script to generate github actions instead of Travis CI and Cirrus Slobodan Predolac 2025-12-05 19:45:17 -05:00
  • 4b50fa9b58 Add a mallctl for users to get an approximate of active bytes. Guangli Dai 2025-11-25 16:26:49 -08:00
  • 9aaad0544f Add a mallctl for users to get an approximate of active bytes. Guangli Dai 2025-11-25 16:26:49 -08:00
  • c8b6f9e223 [EASY] Extract hpa_central component from hpa source file Slobodan Predolac 2025-09-30 09:37:09 -07:00
  • 3f1aa90426 [EASY] Extract hpa_central component from hpa source file Slobodan Predolac 2025-09-30 09:37:09 -07:00
  • 0507f6dacc [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
  • 8384b00ebe [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
  • 76d6771770 Add experimental_enforce_hugify Slobodan Predolac 2025-11-19 14:25:58 -08:00
  • bfb63eaf41 Add experimental_enforce_hugify Slobodan Predolac 2025-11-19 14:25:58 -08:00
  • b8ad7eba63 move fill/flush pointer array out of tcache.c Shirui Cheng 2025-10-21 18:53:35 -07:00
  • f5f0f063c1 move fill/flush pointer array out of tcache.c Shirui Cheng 2025-10-21 18:53:35 -07:00
  • 477573ce36 When extracting from central, hugify_eager is different than start_as_huge Slobodan Predolac 2025-10-13 11:37:49 -07:00
  • 6ced85a8e5 When extracting from central, hugify_eager is different than start_as_huge Slobodan Predolac 2025-10-13 11:37:49 -07:00
  • cef95f5d5c Refactor init_system_thp_mode and print it in malloc stats. guangli-dai 2025-10-07 16:18:07 -07:00
  • 0f8a8d7ebe Refactor init_system_thp_mode and print it in malloc stats. guangli-dai 2025-10-07 16:18:07 -07:00
  • 4ec54f3a4b 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
  • 832a332c33 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
  • e1d78cfa6b Inline the value of an always false boolean local variable Carl Shapiro 2025-10-06 15:45:38 -07:00
  • bfc20f2804 Inline the value of an always false boolean local variable Carl Shapiro 2025-10-06 15:45:38 -07:00
  • a8742091f3 [EASY] Spelling in the comments Slobodan Predolac 2025-10-06 12:01:13 -07:00
  • 0669f70b67 [EASY] Spelling in the comments Slobodan Predolac 2025-10-06 12:01:13 -07:00
  • 323bda69be Add npurges and npurge_passes to output of pa_benchmark Slobodan Predolac 2025-09-16 16:50:11 -07:00
  • 9000d6160f Add npurges and npurge_passes to output of pa_benchmark Slobodan Predolac 2025-09-16 16:50:11 -07:00
  • 75324f566e [pa-bench] Add clock to pa benchmark Slobodan Predolac 2025-09-16 13:25:42 -07:00
  • a9596253a5 [pa-bench] Add clock to pa benchmark Slobodan Predolac 2025-09-16 13:25:42 -07:00
  • 97d610044c [HPA] Add ability to start page as huge and more flexibility for purging Slobodan Predolac 2025-08-25 13:23:07 -07:00
  • f8ef3195e5 [HPA] Add ability to start page as huge and more flexibility for purging Slobodan Predolac 2025-08-25 13:23:07 -07:00
  • ec503b43db Running clang-format on two files Slobodan Predolac 2025-09-30 07:13:12 -07:00
  • db943a0d9e Running clang-format on two files Slobodan Predolac 2025-09-30 07:13:12 -07:00
  • 8ce81ac2f7 Revert "Do not dehugify when purging" Slobodan Predolac 2025-09-29 09:41:51 -07:00
  • 2bbcb10d10 Revert "Do not dehugify when purging" Slobodan Predolac 2025-09-29 09:41:51 -07:00
  • 6cc6a4ce51 Revert "Remove an unused function and global variable" Slobodan Predolac 2025-09-29 09:41:14 -07:00
  • b76a7306a8 Revert "Remove an unused function and global variable" Slobodan Predolac 2025-09-29 09:41:14 -07:00
  • b725d6b1d6 Remove Travis Windows CI for now since it has infra failures. guangli-dai 2025-09-17 10:18:25 -07:00
  • f29cfa8251 Remove Travis Windows CI for now since it has infra failures. guangli-dai 2025-09-17 10:18:25 -07:00
  • dde70db2dc [sdt] Add some tracepoints to sec and hpa modules Slobodan Predolac 2025-08-07 09:34:30 -07:00
  • b7bedaf7a0 [sdt] Add some tracepoints to sec and hpa modules Slobodan Predolac 2025-08-07 09:34:30 -07:00
  • d0287ffda4 Improve the portability of grep patterns in configure.ac Carl Shapiro 2025-09-12 18:07:12 -07:00
  • d74be2ea7c Improve the portability of grep patterns in configure.ac Carl Shapiro 2025-09-12 18:07:12 -07:00
  • aae98fbb64 Add a page-allocator microbenchmark. guangli-dai 2025-08-24 23:57:26 -07:00
  • 5d18e0b340 Add a page-allocator microbenchmark. guangli-dai 2025-08-24 23:57:26 -07:00
  • 61addd16f6 Adding trace analysis in preparation for page allocator microbenchmark. guangli-dai 2025-08-24 18:56:12 -07:00
  • 983773b118 Adding trace analysis in preparation for page allocator microbenchmark. guangli-dai 2025-08-24 18:56:12 -07:00
  • 470d0d9397 Replace an instance of indentation with spaces with tabs Carl Shapiro 2025-09-11 14:46:35 -07:00
  • c0889acb6c Replace an instance of indentation with spaces with tabs Carl Shapiro 2025-09-11 14:46:35 -07:00
  • 1e65c25554 Add missing thread_event_registry.c to Visual Studio projects Aurélien Brooke 2025-09-04 08:55:47 +02:00
  • 28fb5fabe7 Add missing thread_event_registry.c to Visual Studio projects Aurélien Brooke 2025-09-04 08:55:47 +02:00
  • 62acef3534 Update config.guess and config.sub to the latest versions lexprfuncall 2025-08-26 13:32:57 -07:00
  • cdc3b65300 Update config.guess and config.sub to the latest versions lexprfuncall 2025-08-26 13:32:57 -07:00