Files
jemalloc/test/unit
Dmitry Ilvokhin 47d69b4eab HPA: Fix infinite purging loop
One of the condition to start purging is `hpa_hugify_blocked_by_ndirty`
function call returns true. This can happen in cases where we have no
dirty memory for this shard at all. In this case purging loop will be an
infinite loop.

`hpa_hugify_blocked_by_ndirty` was introduced at 0f6c420, but at that
time purging loop has different form and additional `break` was not
required. Purging loop form was re-written at 6630c5989, but additional
exit condition wasn't added there at the time.

Repo code was shared by Patrik Dokoupil at [1], I stripped it down to
minimum to reproduce issue in jemalloc unit tests.

[1]: https://github.com/jemalloc/jemalloc/pull/2533
2024-04-30 13:46:32 -07:00
..
2020-02-19 16:03:16 -08:00
2021-12-23 10:55:08 -08:00
2021-12-23 10:55:08 -08:00
2020-07-31 09:16:50 -07:00
2020-07-31 09:16:50 -07:00
2023-09-06 10:47:14 -07:00
2020-07-31 09:16:50 -07:00
2018-12-03 17:17:03 -08:00
2023-05-08 15:00:02 -07:00
2020-04-01 09:41:20 -07:00
2020-02-19 16:03:16 -08:00
2020-05-12 08:23:15 -07:00
2021-09-17 16:56:41 -07:00
2020-02-19 16:03:16 -08:00
2020-02-19 16:03:16 -08:00
2021-06-24 07:40:28 -07:00
2021-02-04 20:58:31 -08:00
2020-02-19 16:03:16 -08:00
2024-04-30 13:46:32 -07:00
2021-07-12 17:59:18 -07:00
2021-06-24 07:40:28 -07:00
2020-03-31 06:25:08 -07:00
2020-02-19 16:03:16 -08:00
2021-06-24 14:55:49 -07:00
2020-02-19 16:03:16 -08:00
2020-02-19 16:03:16 -08:00
2023-05-08 15:00:02 -07:00
2023-05-08 15:00:02 -07:00
2020-02-19 16:03:16 -08:00
2017-05-18 11:33:45 -07:00
2020-02-19 16:03:16 -08:00
2020-10-05 19:55:57 -07:00
2024-04-09 12:57:01 -07:00
2021-12-23 10:55:08 -08:00
2017-04-21 10:06:12 -07:00
2024-04-09 12:57:01 -07:00
2021-12-23 10:55:08 -08:00
2019-12-30 15:58:57 -08:00
2021-07-12 17:59:18 -07:00
2020-04-06 09:50:27 -07:00
2020-04-06 09:50:27 -07:00
2021-12-23 10:55:08 -08:00
2021-09-27 16:05:13 -07:00
2021-12-15 10:39:17 -08:00
2020-02-19 16:03:16 -08:00
2020-02-19 16:03:16 -08:00
2020-02-19 16:03:16 -08:00
2023-05-08 15:00:02 -07:00
2022-04-25 11:29:00 -07:00
2020-03-12 13:55:00 -07:00
2023-04-05 10:16:37 -07:00
2022-01-04 11:03:51 -08:00
2020-02-19 16:03:16 -08:00
2020-02-19 16:03:16 -08:00