Files
jemalloc-jemalloc/src
Dmitry Ilvokhin 143f458188 Fix hpa_strict_min_purge_interval option logic
We update `shard->last_purge` on each call of `hpa_try_purge` if we
purged something. This means, when `hpa_strict_min_purge_interval`
option is set only one slab will be purged, because on the next
call condition for too frequent purge protection
`since_last_purge_ms < shard->opts.min_purge_interval_ms` will always
be true. This is not an intended behaviour.

Instead, we need to check `min_purge_interval_ms` once and purge as many
pages as needed to satisfy requirements for `hpa_dirty_mult` option.

Make possible to count number of actions performed in unit tests (purge,
hugify, dehugify) instead of binary: called/not called. Extended current
unit tests with cases where we need to purge more than one page for a
purge phase.
2024-08-20 10:02:38 -07:00
..
2024-05-22 10:30:31 -07:00
2024-05-22 10:30:31 -07:00
2024-05-22 10:30:31 -07:00
2024-05-22 10:30:31 -07:00
2021-12-23 10:55:08 -08:00
2023-06-23 11:50:29 -07:00
2021-12-15 10:39:17 -08:00
2020-11-13 13:42:33 -08:00
2024-01-03 14:18:52 -08:00
2020-12-04 23:48:19 -08:00
2024-01-03 14:18:52 -08:00
2024-01-03 14:18:52 -08:00
2024-04-09 12:57:01 -07:00
2024-07-30 10:29:30 -07:00
2024-01-03 14:18:52 -08:00
2021-02-04 14:10:43 -08:00
2021-02-04 14:10:43 -08:00