Remove strict_min_purge_interval option

Option `experimental_hpa_strict_min_purge_interval` was expected to be
temporary to simplify rollout of a bugfix. Now, when bugfix rollout is
complete it is safe to remove this option.
This commit is contained in:
Dmitry Ilvokhin 2024-08-29 10:49:31 -07:00 committed by Qi Wang
parent 6cc42173cb
commit 4f4fd42447
7 changed files with 21 additions and 41 deletions

View file

@ -50,14 +50,6 @@ struct hpa_shard_opts_s {
*/
uint64_t min_purge_interval_ms;
/*
* Strictly respect minimum amout of time between purges.
*
* This is an option to provide backward compatibility for staged rollout of
* purging logic fix.
*/
bool experimental_strict_min_purge_interval;
/*
* Maximum number of hugepages to purge on each purging attempt.
*/
@ -83,8 +75,6 @@ struct hpa_shard_opts_s {
10 * 1000, \
/* min_purge_interval_ms */ \
5 * 1000, \
/* experimental_strict_min_purge_interval */ \
false, \
/* experimental_max_purge_nhp */ \
-1 \
}